diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-10-18 17:40:05 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-10-18 17:40:05 -0700 |
commit | 6fa280c2f430e68f5857b314b9607007be6245ca (patch) | |
tree | 8d71c8dfce417f117c297baa8881a1685330182d /Makefile | |
parent | e03f5ca7c63d7e14bbf00f44cbb3aca84250923f (diff) |
Added 'make jshint'.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -38,6 +38,9 @@ js/stmd.js: js/lib/index.js ${JSMODULES} testjs: spec.txt node js/test.js +jshint: + jshint ${JSMODULES} + benchjs: node js/bench.js ${BENCHINP} @@ -57,7 +60,7 @@ $(SRCDIR)/case_fold_switch.inc: $(DATADIR)/CaseFolding-3.2.0.txt $(SRCDIR)/html/html_unescape.h: $(SRCDIR)/html/html_unescape.gperf gperf -I -t -N find_entity -H hash_entity -K entity -C -l --null-strings -m5 $< > $@ -.PHONY: leakcheck clean fuzztest dingus upload +.PHONY: leakcheck clean fuzztest dingus upload jshint test testjs benchjs dingus: js/stmd.js cd js && echo "Starting dingus server at http://localhost:9000" && python -m SimpleHTTPServer 9000 |