]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Merge branch 'feature/js2-mode' into develop
[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 \
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 \
19 -f batch-byte-compile *.el lib/*.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 \
33 -l ert \
34 -l ert-async \
35 -l context-coloring \
36 -l test/context-coloring-test.el \
37 -f ert-run-tests-batch-and-exit
38
39 testjs:
40 node_modules/.bin/mocha
41
42 .PHONY: all bench benchel benchjs compile clean install test testel testjs