Update installation process

This commit is contained in:
Richard Feldman
2016-03-06 05:22:23 -08:00
parent fe473e1041
commit 28ff51da62
5 changed files with 40 additions and 6 deletions

View File

@@ -7,4 +7,10 @@ fs.readdirSync("stages").forEach(function(stage) {
console.log("Installing packages for " + cwd);
execSync("elm-package install --yes", { cwd: cwd });
var testCwd = path.join(cwd, "test");
if (fs.existsSync(testCwd)) {
execSync("elm-package install --yes", { cwd: testCwd });
}
});