test-packages now works on plugin tests

This commit is contained in:
ekatek
2014-04-10 22:48:19 -04:00
parent 4aa99b1518
commit f4ea519165
6 changed files with 14 additions and 1 deletions

View File

@@ -1,4 +1,6 @@
Package.describe({
name: "coffeescript",
test: "coffeescript-test",
summary: "Javascript dialect with fewer braces and semicolons",
version: "1.0.0"
});

View File

@@ -1,4 +1,6 @@
Package.describe({
name:"less",
test:"less-test",
summary: "The dynamic stylesheet language",
version: "1.0.0"
});

View File

@@ -1,6 +1,8 @@
// All other packages automatically depend on this one
Package.describe({
name:"meteor",
test:"meteor-test",
summary: "Core Meteor environment",
internal: true,
version: '1.0.0'

View File

@@ -1,4 +1,6 @@
Package.describe({
name: "stylus",
test: "stylus-test",
summary: 'Expressive, dynamic, robust CSS',
version: "1.0.0"
});

View File

@@ -1,4 +1,6 @@
Package.describe({
name: "templating",
test: "templating-test",
summary: "Allows templates to be defined in .html files",
version: '1.0.0',
internal: true

View File

@@ -248,7 +248,10 @@ var compileBuild = function (unipackage, inputBuild, packageLoader,
_.each(activePluginPackages, function (otherPkg) {
_.each(otherPkg.getSourceHandlers(), function (handler, ext) {
if (ext in allHandlers && allHandlers[ext] !== handler) {
if (ext in allHandlers &&
allHandlers[ext].toString() !== handler.toString()) {
console.log("1:", allHandlers[ext]);
console.log("2:", handler);
buildmessage.error(
"conflict: two packages included in " +
(inputBuild.pkg.name || "the app") + ", " +