mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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>
This commit is contained in:
1 parent
54f689fc1e
commit
773e1c1304
3 files changed
+4
-2
No files matched your search
@@ -19,6 +19,7 @@ node_g
|
||||
/.project
|
||||
/.cproject
|
||||
icu_config.gypi
|
||||
.eslintcache
|
||||
|
||||
/out
|
||||
|
||||
|
||||
@@ -686,7 +686,8 @@ bench-idle:
|
||||
$(NODE) benchmark/idle_clients.js &
|
||||
|
||||
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:
|
||||
$(NODE) tools/jslint.js $(PARALLEL_ARGS) -f tap -o test-eslint.tap \
|
||||
|
||||
+1
-1
@@ -363,7 +363,7 @@ if defined jslint_ci goto jslint-ci
|
||||
if not defined jslint goto exit
|
||||
if not exist tools\eslint\lib\eslint.js goto no-lint
|
||||
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
|
||||
|
||||
:jslint-ci
|
||||
|
||||
Reference in new issue
Block a user