all: clean install compile test
-bench: benchjs benchel
-
-benchjs:
- node_modules/.bin/matcha
+bench: benchel benchjs
benchel:
emacs -Q -L . \
-l benchmark/context-coloring-benchmark \
-f context-coloring-benchmark-run
+benchjs:
+ node_modules/.bin/matcha
+
compile:
emacs -Q -batch -f batch-byte-compile *.el
install:
npm install
-test:
- node_modules/.bin/mocha
+test: testel testjs
+
+testel:
emacs -Q -batch -L . \
-l ert \
-l context-coloring \
-l test/context-coloring-test.el \
-f ert-run-tests-batch-and-exit
-.PHONY: all bench benchjs benchel compile clean install test
+testjs:
+ node_modules/.bin/mocha
+
+.PHONY: all bench benchel benchjs compile clean install test testel testjs