Makefile: DRY js lint
authorBen Noordhuis <info@bnoordhuis.nl>
Sun, 5 Aug 2012 21:40:20 +0000 (23:40 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Sun, 5 Aug 2012 21:40:39 +0000 (23:40 +0200)
Makefile

index 869eafac9a19c6a4d089ceab7845612b97962f5d..3d6a79a4881221f230c82f6d3bf16ae4516c4721 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ distclean:
 
 test: all
        $(PYTHON) tools/test.py --mode=release simple message
-       PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
+       $(MAKE) jslint
 
 test-http1: all
        $(PYTHON) tools/test.py --mode=release --use-http1 simple message