summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-10-24 11:36:32 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-10-24 11:36:32 -0700
commite931841b27faa7de3d755cb3a6083acf7a464143 (patch)
treee0f6806dbc39d0cb01187adf9b53f97168cd0b6c /Makefile
parent8b1a5abc80685c1caa2ca825e468902356989aa9 (diff)
parent9e30ca443275356c1693ab785d700c280d5dfa8c (diff)
Merge branch 'emphstack'
Conflicts: Makefile js/lib/inlines.js
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4a01824..e8a37d7 100644
--- a/Makefile
+++ b/Makefile
@@ -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,14 +60,13 @@ $(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
leakcheck: $(PROG)
- # TODO produce leaktest.md that tests everything
- cat leaktest.md | valgrind --leak-check=full --dsymutil=yes $(PROG)
+ cat leakcheck.md | valgrind --leak-check=full --dsymutil=yes $(PROG)
operf: $(PROG)
operf $(PROG) <bench.md >/dev/null