From 1002974c925dc19fa7924db77293ead3cc2a5a72 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 25 Jul 2017 10:50:46 -0700 Subject: [PATCH] Make the 'publish-nightly' target run tests in parallel. --- Gulpfile.ts | 2 +- Jakefile.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gulpfile.ts b/Gulpfile.ts index 41227d2d76e..f6e5ed627d8 100644 --- a/Gulpfile.ts +++ b/Gulpfile.ts @@ -294,7 +294,7 @@ gulp.task("configure-nightly", "Runs scripts/configureNightly.ts to prepare a bu exec(host, [configureNightlyJs, packageJson, versionFile], done, done); }); gulp.task("publish-nightly", "Runs `npm publish --tag next` to create a new nightly build on npm", ["LKG"], () => { - return runSequence("clean", "useDebugMode", "runtests", (done) => { + return runSequence("clean", "useDebugMode", "runtests-parallel", (done) => { exec("npm", ["publish", "--tag", "next"], done, done); }); }); diff --git a/Jakefile.js b/Jakefile.js index 58779a3d8dc..be21deedd3a 100644 --- a/Jakefile.js +++ b/Jakefile.js @@ -505,7 +505,7 @@ task("configure-nightly", [configureNightlyJs], function () { }, { async: true }); desc("Configure, build, test, and publish the nightly release."); -task("publish-nightly", ["configure-nightly", "LKG", "clean", "setDebugMode", "runtests"], function () { +task("publish-nightly", ["configure-nightly", "LKG", "clean", "setDebugMode", "runtests-parallel"], function () { var cmd = "npm publish --tag next"; console.log(cmd); exec(cmd);