From 2d1307f73bc23014e3d0a43e88b20a9d6e715e58 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Fri, 13 Sep 2019 10:15:35 -0700 Subject: [PATCH 1/2] Add build-eslint-rules to local build --- Gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gulpfile.js b/Gulpfile.js index 51127f9822d77..ee261bf7c209c 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -409,7 +409,7 @@ task("other-outputs").description = "Builds miscelaneous scripts and documents d const buildFoldStart = async () => { if (fold.isTravis()) console.log(fold.start("build")); }; const buildFoldEnd = async () => { if (fold.isTravis()) console.log(fold.end("build")); }; -task("local", series(buildFoldStart, preBuild, parallel(localize, buildTsc, buildServer, buildServices, buildLssl, buildOtherOutputs), buildFoldEnd)); +task("local", series(buildFoldStart, preBuild, parallel(buildEslintRules, localize, buildTsc, buildServer, buildServices, buildLssl, buildOtherOutputs), buildFoldEnd)); task("local").description = "Builds the full compiler and services"; task("local").flags = { " --built": "Compile using the built version of the compiler." From 38111fb84cf35673cdae0e9777f05d91a9c18249 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Fri, 13 Sep 2019 10:29:46 -0700 Subject: [PATCH 2/2] Switch to prepare script --- Gulpfile.js | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gulpfile.js b/Gulpfile.js index ee261bf7c209c..51127f9822d77 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -409,7 +409,7 @@ task("other-outputs").description = "Builds miscelaneous scripts and documents d const buildFoldStart = async () => { if (fold.isTravis()) console.log(fold.start("build")); }; const buildFoldEnd = async () => { if (fold.isTravis()) console.log(fold.end("build")); }; -task("local", series(buildFoldStart, preBuild, parallel(buildEslintRules, localize, buildTsc, buildServer, buildServices, buildLssl, buildOtherOutputs), buildFoldEnd)); +task("local", series(buildFoldStart, preBuild, parallel(localize, buildTsc, buildServer, buildServices, buildLssl, buildOtherOutputs), buildFoldEnd)); task("local").description = "Builds the full compiler and services"; task("local").flags = { " --built": "Compile using the built version of the compiler." diff --git a/package.json b/package.json index 478538926ce94..7a59b95a130f6 100644 --- a/package.json +++ b/package.json @@ -102,6 +102,7 @@ "xml2js": "^0.4.19" }, "scripts": { + "prepare": "gulp build-eslint-rules", "pretest": "gulp tests", "test": "gulp runtests-parallel --light=false", "test:eslint-rules": "gulp run-eslint-rules-tests",