]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Coveralls
[gnu-emacs-elpa] / Makefile
1 CASK = cask
2 EMACS = emacs
3 DEPENDENCIES = .cask/
4
5 all: uncompile compile test
6
7 bench: ${DEPENDENCIES}
8 ${CASK} exec ${EMACS} -Q \
9 -L . \
10 -l context-coloring \
11 -l benchmark/context-coloring-benchmark.el \
12 -f context-coloring-benchmark-run
13
14 compile: ${DEPENDENCIES}
15 ${CASK} exec ${EMACS} -Q -batch \
16 -L . \
17 -f batch-byte-compile *.el
18
19 uncompile:
20 rm -f *.elc
21
22 clean: uncompile
23 rm -rf ${DEPENDENCIES}
24
25 ${DEPENDENCIES}:
26 ${CASK}
27
28 test: ${DEPENDENCIES}
29 ${CASK} exec ${EMACS} -Q -batch \
30 -L . \
31 -l ert \
32 -l ert-async \
33 -l test/test-helper.el \
34 -l test/context-coloring-test.el \
35 -f ert-run-tests-batch-and-exit
36
37 .PHONY: all bench compile uncompile clean test