Browse Source

tools: enable caching for jslint task

PR-URL: https://github.com/nodejs/node/pull/8296
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
v6.x
Rich Trott 8 years ago
committed by Jeremiah Senkpiel
parent
commit
773e1c1304
  1. 1
      .gitignore
  2. 3
      Makefile
  3. 2
      vcbuild.bat

1
.gitignore

@ -19,6 +19,7 @@ node_g
/.project /.project
/.cproject /.cproject
icu_config.gypi icu_config.gypi
.eslintcache
/out /out

3
Makefile

@ -686,7 +686,8 @@ bench-idle:
$(NODE) benchmark/idle_clients.js & $(NODE) benchmark/idle_clients.js &
jslint: jslint:
$(NODE) tools/jslint.js -J benchmark lib test tools $(NODE) tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules \
benchmark lib test tools
jslint-ci: jslint-ci:
$(NODE) tools/jslint.js $(PARALLEL_ARGS) -f tap -o test-eslint.tap \ $(NODE) tools/jslint.js $(PARALLEL_ARGS) -f tap -o test-eslint.tap \

2
vcbuild.bat

@ -363,7 +363,7 @@ if defined jslint_ci goto jslint-ci
if not defined jslint goto exit if not defined jslint goto exit
if not exist tools\eslint\lib\eslint.js goto no-lint if not exist tools\eslint\lib\eslint.js goto no-lint
echo running jslint echo running jslint
%config%\node tools\jslint.js -J benchmark lib test tools %config%\node tools\eslint\bin\eslint.js --cache --rulesdir=tools\eslint-rules benchmark lib test tools
goto exit goto exit
:jslint-ci :jslint-ci

Loading…
Cancel
Save