Skip to content

Commit

Permalink
tools: enable caching for jslint task
Browse files Browse the repository at this point in the history
PR-URL: nodejs#8296
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
  • Loading branch information
Trott committed Oct 1, 2016
1 parent 6a72b94 commit b216643
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ node_g
/.project
/.cproject
icu_config.gypi
.eslintcache

/out

Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,8 @@ bench: bench-net bench-http bench-fs bench-tls
bench-ci: bench

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 \
Expand Down
2 changes: 1 addition & 1 deletion vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b216643

Please sign in to comment.