mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
27 lines
861 B
JavaScript
27 lines
861 B
JavaScript
Package.describe({
|
|
summary: "Given the set of the constraints, picks a satisfying configuration",
|
|
version: "1.0.15"
|
|
});
|
|
|
|
Npm.depends({
|
|
'mori': '0.2.6'
|
|
});
|
|
|
|
Package.on_use(function (api) {
|
|
api.export('ConstraintSolver');
|
|
api.use(['underscore', 'ejson', 'check', 'package-version-parser',
|
|
'binary-heap', 'random'], 'server');
|
|
api.add_files(['constraint-solver.js', 'resolver.js', 'constraints-list.js',
|
|
'resolver-state.js', 'priority-queue.js'], ['server']);
|
|
});
|
|
|
|
Package.on_test(function (api) {
|
|
api.use('constraint-solver', ['server']);
|
|
api.use(['tinytest', 'minimongo', 'package-version-parser']);
|
|
// data for big benchmarky tests
|
|
api.add_files('test-data.js', ['server']);
|
|
api.add_files('constraint-solver-tests.js', ['server']);
|
|
api.add_files('resolver-tests.js', ['server']);
|
|
api.use('underscore');
|
|
});
|