mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
30 lines
790 B
JavaScript
30 lines
790 B
JavaScript
Package.describe({
|
|
summary: "General satisfiability solver for logic problems",
|
|
version: '3.0.0',
|
|
});
|
|
|
|
Npm.depends({
|
|
'lodash.has': '4.5.2'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.export('Logic');
|
|
api.use('ecmascript');
|
|
api.addFiles(['minisat.js',
|
|
'minisat_wrapper.js',
|
|
'types.js',
|
|
'logic.js',
|
|
'optimize.js']);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use(['tinytest', 'check']);
|
|
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');
|
|
});
|