prevent a build loop when building tests of plugin-containing packages

This commit is contained in:
Geoff Schmidt
2014-03-18 00:37:38 -07:00
parent cf14b92e4c
commit c987e5cced

View File

@@ -218,6 +218,7 @@ var compileSlice = function (unipackage, inputSlice, packageLoader,
// have circular build-time dependencies.
_.each(inputSlice.uses, function (dependency) {
if (! dependency.weak && ! dependency.unordered &&
dependency.package !== unipackage.name &&
packageLoader.containsPlugins(dependency.package)) {
activePluginPackages.push(
packageLoader.getPackage(dependency.package));