mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
26 lines
760 B
JavaScript
26 lines
760 B
JavaScript
Package.describe({
|
|
summary: "General satisfiability solver for logic problems",
|
|
version: '2.0.8'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.export('Logic');
|
|
api.use('underscore');
|
|
api.addFiles(['minisat.js',
|
|
'minisat_wrapper.js',
|
|
'types.js',
|
|
'logic.js',
|
|
'optimize.js']);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use(['tinytest', 'check', 'underscore']);
|
|
api.use('logic-solver');
|
|
|
|
// logic-solver is totally meant for the client too, but not old
|
|
// ones like IE 8, so we have to exclude it from our automated
|
|
// testing. It needs a browser released in the last year (say) so
|
|
// that Emscripten-compiled code runs reasonably.
|
|
api.addFiles('logic_tests.js', 'server');
|
|
});
|