mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
23 lines
515 B
JavaScript
23 lines
515 B
JavaScript
Package.describe({
|
|
name: "binary-heap",
|
|
test: "binary-heap-test",
|
|
summary: "Binary Heap datastructure implementation",
|
|
version: '1.0.0',
|
|
internal: true
|
|
});
|
|
|
|
Package.on_use(function (api) {
|
|
api.export('MaxHeap');
|
|
api.export('MinHeap');
|
|
api.export('MinMaxHeap');
|
|
api.use(['underscore', 'id-map']);
|
|
api.add_files(['max-heap.js', 'min-heap.js', 'min-max-heap.js']);
|
|
});
|
|
|
|
Package.on_test(function (api) {
|
|
api.use('tinytest');
|
|
api.use('binary-heap');
|
|
api.add_files('binary-heap-tests.js');
|
|
});
|
|
|