From f059eb06eb94a592c74426c75c962f8fe38427a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Doeraene?= Date: Mon, 19 Sep 2016 20:36:01 +0200 Subject: [PATCH] Use "nodejs" in all Scala.js projects that testSuite depends on. Although only `testSuite` actually has tests, dbuild will try to run the tests for all projects that `testSuite` depends on (transitively), so we need to set it in a bunch of places. --- common.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common.conf b/common.conf index a6b34113f..4be9981a2 100644 --- a/common.conf +++ b/common.conf @@ -549,8 +549,10 @@ build += { // - Disable fatal Scaladoc warnings, also fragile "removeScalacOptions -Xfatal-warnings", // - Use Node.js with the executable "nodejs" instead of "node" (environmental in the CI infrastructure) - // We disable source map tests to save ourselves a `npm install source-map-support` on the workers - "set jsEnv in testSuite := NodeJSEnv(executable = \"nodejs\").value.withSourceMap(false)" + // We disable source map tests to save ourselves a `npm install source-map-support` on the workers. + // Although only `testSuite` actually has tests, dbuild will try to run the tests for all projects + // that `testSuite` depends on (transitively), so we need to set it in a bunch of places. + "set Seq(library, testInterface, jUnitRuntime, testSuite).map(p => jsEnv in p := NodeJSEnv(executable = \"nodejs\").value.withSourceMap(false))" ] } }