mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
test-packages now works on plugin tests
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Package.describe({
|
||||
name: "coffeescript",
|
||||
test: "coffeescript-test",
|
||||
summary: "Javascript dialect with fewer braces and semicolons",
|
||||
version: "1.0.0"
|
||||
});
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
Package.describe({
|
||||
name:"less",
|
||||
test:"less-test",
|
||||
summary: "The dynamic stylesheet language",
|
||||
version: "1.0.0"
|
||||
});
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
Package.describe({
|
||||
name: "stylus",
|
||||
test: "stylus-test",
|
||||
summary: 'Expressive, dynamic, robust CSS',
|
||||
version: "1.0.0"
|
||||
});
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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") + ", " +
|
||||
|
||||
Reference in New Issue
Block a user