mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
35 lines
1.1 KiB
JavaScript
35 lines
1.1 KiB
JavaScript
Package.describe({
|
|
summary: "Given the set of the constraints, picks a satisfying configuration",
|
|
version: "1.0.17"
|
|
});
|
|
|
|
Npm.depends({
|
|
'mori': '0.2.6'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.export('ConstraintSolver');
|
|
api.use(['underscore', 'ejson', 'check', 'package-version-parser',
|
|
'binary-heap', 'random']);
|
|
api.addFiles(['datatypes.js', 'catalog-cache.js', 'catalog-loader.js',
|
|
'constraint-solver-input.js']);
|
|
api.addFiles(['constraint-solver.js', 'resolver.js', 'constraints-list.js',
|
|
'resolver-state.js', 'priority-queue.js'], ['server']);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use('constraint-solver');
|
|
api.use(['tinytest', 'minimongo', 'package-version-parser']);
|
|
api.use('underscore');
|
|
|
|
// data for big benchmarky tests
|
|
api.addFiles('test-data.js', ['server']);
|
|
|
|
api.addFiles('datatypes-tests.js', ['server']);
|
|
api.addFiles('catalog-cache-tests.js', ['server']);
|
|
api.addFiles('constraint-solver-tests.js', ['server']);
|
|
api.addFiles('benchmark-tests.js', ['server']);
|
|
api.addFiles('resolver-tests.js', ['server']);
|
|
api.addFiles('input-tests.js', ['server']);
|
|
});
|