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