Make package dependencies slightly more accurate

This commit is contained in:
David Greenspan
2013-12-11 20:10:05 -08:00
parent 250aa0a8ed
commit 734fecc546
4 changed files with 12 additions and 12 deletions

View File

@@ -1 +0,0 @@
.build*

View File

@@ -1,10 +0,0 @@
Package.describe({
summary: "Standards-compliant HTML tools"
});
Package.on_use(function (api) {
api.use('htmljs');
api.imply('htmljs');
// api.add_files(['scanner.js']);
});

View File

@@ -4,6 +4,8 @@ Package.describe({
});
Package.on_use(function (api) {
// we attach stuff to the global symbol `HTML`, exported
// by `htmljs`, so we both use and effectively imply it.
api.use('htmljs');
api.imply('htmljs');
@@ -18,7 +20,7 @@ Package.on_test(function (api) {
api.use('tinytest');
api.use('html');
api.use('underscore');
api.use('ui'); // for `toCode`
api.use('spacebars'); // for `toJS`
api.add_files(['charref_tests.js',
'tokenize_tests.js',
'parse_tests.js']);

View File

@@ -5,6 +5,15 @@ Package.describe({
Package.on_use(function (api) {
api.export('Spacebars');
// we attach stuff to the global symbol `HTML`, exported
// by `htmljs` via `html`, so we both use and effectively
// imply it.
// XXX Should separate out the Spacebars runtime support
// from the Spacebars compiler so we don't need html
// at runtime.
api.use('html');
api.imply('html');
api.use('underscore');
api.use('jsparse');
api.use('html');