Files
meteor/packages/logic-solver/package.js
2024-07-15 13:36:33 -04:00

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');
});