]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Refactor Makefile.
[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 -batch -f batch-byte-compile *.el
16
17 clean:
18 rm -f *.log benchmark/*.log *.elc
19
20 install:
21 npm install
22
23 test: testel testjs
24
25 testel:
26 emacs -Q -batch -L . \
27 -l ert \
28 -l context-coloring \
29 -l test/context-coloring-test.el \
30 -f ert-run-tests-batch-and-exit
31
32 testjs:
33 node_modules/.bin/mocha
34
35 .PHONY: all bench benchel benchjs compile clean install test testel testjs