]> code.delx.au - gnu-emacs-elpa/blobdiff - Makefile
Reorganize files.
[gnu-emacs-elpa] / Makefile
index 868bd2a8dbb3df5b9401013045b7bf69da941d4c..08c23eb4ced0671a843d33d0e6fae94167a35d9b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CASK = cask
 EMACS = emacs
+CASK = EMACS=${EMACS} cask
 DEPENDENCIES = .cask/
 
 all: uncompile compile test
@@ -8,7 +8,7 @@ bench: ${DEPENDENCIES}
        ${CASK} exec ${EMACS} -Q \
        -L . \
        -l context-coloring \
-       -l benchmark/context-coloring-benchmark.el \
+       -l context-coloring-benchmark \
        -f context-coloring-benchmark-run
 
 compile: ${DEPENDENCIES}
@@ -29,19 +29,18 @@ test: ${DEPENDENCIES}
        ${CASK} exec ${EMACS} -Q -batch \
        -L . \
        -l ert \
-       -l ert-async \
-       -l test/ci-coverage.el \
-       -l test/context-coloring-test.el \
+       -l context-coloring-coverage \
+       -f context-coloring-coverage-ci-init \
+       -l context-coloring-test \
        -f ert-run-tests-batch-and-exit
 
 cover: ${DEPENDENCIES}
-       COVERALLS_REPO_TOKEN="noop" \
        ${CASK} exec ${EMACS} -Q -batch \
        -L . \
        -l ert \
-       -l ert-async \
-       -l test/local-coverage.el \
-       -l test/context-coloring-test.el \
+       -l context-coloring-coverage \
+       -f context-coloring-coverage-local-init \
+       -l context-coloring-test \
        -f ert-run-tests-batch-and-exit
 
 .PHONY: all bench compile uncompile clean test cover