]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Increase reliability of async tests.
[gnu-emacs-elpa] / Makefile
1 all: clean install compile test
2
3 bench: benchel benchjs
4
5 benchel:
6 emacs -Q \
7 -L . \
8 -L lib/js2-mode \
9 -l context-coloring \
10 -l benchmark/context-coloring-benchmark \
11 -f context-coloring-benchmark-run
12
13 benchjs:
14 node_modules/.bin/matcha
15
16 compile:
17 emacs -Q -batch \
18 -L lib/js2-mode \
19 -f batch-byte-compile *.el
20
21 clean:
22 rm -f *.log benchmark/*.log *.elc
23
24 install:
25 npm install
26
27 test: testel testjs
28
29 testel:
30 emacs -Q -batch \
31 -L . \
32 -L lib/ert-async \
33 -L lib/js2-mode \
34 -l ert \
35 -l ert-async \
36 -l context-coloring \
37 -l test/context-coloring-test.el \
38 -f ert-run-tests-batch-and-exit
39
40 testjs:
41 node_modules/.bin/mocha
42
43 .PHONY: all bench benchel benchjs compile clean install test testel testjs