]> code.delx.au - gnu-emacs-elpa/blob - packages/context-coloring/Makefile
Merge commit 'cc38c044a13e6df822431d6c706cf4b9255900bd' from ace-window
[gnu-emacs-elpa] / packages / context-coloring / 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/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 ${CASK} exec ${EMACS} -Q -batch \
40 -L . \
41 -l ert \
42 -l ert-async \
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