]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Version 8.0.1.
[gnu-emacs-elpa] / Makefile
1 EMACS = emacs
2 CASK = EMACS=${EMACS} cask
3 DEPENDENCIES = .cask/
4 SOURCE_FILES = \
5 context-coloring.el \
6 context-coloring-javascript.el \
7 context-coloring-emacs-lisp.el
8
9 all: uncompile compile test
10
11 bench: ${DEPENDENCIES}
12 ${CASK} exec ${EMACS} -Q \
13 -L . \
14 -l context-coloring \
15 -l context-coloring-benchmark \
16 -f context-coloring-benchmark-run
17
18 compile: ${DEPENDENCIES}
19 ${CASK} exec ${EMACS} -Q -batch \
20 -L . \
21 -f batch-byte-compile ${SOURCE_FILES}
22
23 uncompile:
24 rm -f *.elc
25
26 clean: uncompile
27 rm -rf ${DEPENDENCIES}
28
29 ${DEPENDENCIES}:
30 ${CASK}
31
32 test: ${DEPENDENCIES}
33 ${CASK} exec ${EMACS} -Q -batch \
34 -L . \
35 -l ert \
36 -l context-coloring-coverage \
37 -f context-coloring-coverage-ci-init \
38 -l context-coloring-test \
39 -f ert-run-tests-batch-and-exit
40
41 cover: ${DEPENDENCIES}
42 ${CASK} exec ${EMACS} -Q -batch \
43 -L . \
44 -l ert \
45 -l context-coloring-coverage \
46 -f context-coloring-coverage-local-init \
47 -l context-coloring-test \
48 -f ert-run-tests-batch-and-exit
49
50 .PHONY: all bench compile uncompile clean test cover