summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorGibson Fahnestock <gibfahn@gmail.com>2017-09-17 00:43:54 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2017-09-21 19:23:36 -0300
commit66e45b821a3f70cfde7c6e2feda7e17a8607ae9c (patch)
tree115649a2527e7dfd8987989587355ecb5525d7a4 /vcbuild.bat
parent78339e25111cee826debf0e864c7f8d894f3288c (diff)
downloadandroid-node-v8-66e45b821a3f70cfde7c6e2feda7e17a8607ae9c.tar.gz
android-node-v8-66e45b821a3f70cfde7c6e2feda7e17a8607ae9c.tar.bz2
android-node-v8-66e45b821a3f70cfde7c6e2feda7e17a8607ae9c.zip
build: don't fail `make test` on source tarballs
Tries to achieve the same effect as https://github.com/nodejs/node/pull/13658 without breaking source tarballs. Presumably if `tools/eslint` wasn't there at all, people would notice in the PR review! PR-URL: https://github.com/nodejs/node/pull/15441 Fixes: https://github.com/nodejs/node/issues/14513 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 8e6c89e2a0..77a49edeb6 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -505,7 +505,7 @@ goto exit
if defined enable_static goto exit
if defined jslint_ci goto jslint-ci
if not defined jslint goto exit
-if not exist tools\eslint\bin\eslint.js goto no-lint
+if not exist tools\eslint goto no-lint
echo running jslint
%config%\node tools\eslint\bin\eslint.js --cache --rule "linebreak-style: 0" --rulesdir=tools\eslint-rules --ext=.js,.md benchmark doc lib test tools
goto exit
@@ -518,7 +518,7 @@ goto exit
:no-lint
echo Linting is not available through the source tarball.
echo Use the git repo instead: $ git clone https://github.com/nodejs/node.git
-exit /b 1
+goto exit
:create-msvs-files-failed
echo Failed to create vc project files.