]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Remove asynchronous support.
[gnu-emacs-elpa] / Makefile
1 EMACS = emacs
2 CASK = EMACS=${EMACS} cask
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 ${KILL_SCOPIFIER}
30 ${CASK} exec ${EMACS} -Q -batch \
31 -L . \
32 -l ert \
33 -l test/context-coloring-coverage.el \
34 -f context-coloring-coverage-ci-init \
35 -l test/context-coloring-test.el \
36 -f ert-run-tests-batch-and-exit
37
38 cover: ${DEPENDENCIES}
39 ${KILL_SCOPIFIER}
40 ${CASK} exec ${EMACS} -Q -batch \
41 -L . \
42 -l ert \
43 -l test/context-coloring-coverage.el \
44 -f context-coloring-coverage-local-init \
45 -l test/context-coloring-test.el \
46 -f ert-run-tests-batch-and-exit
47
48 .PHONY: all bench compile uncompile clean test cover