]> code.delx.au - gnu-emacs-elpa/blobdiff - Makefile
Add local coverage configuration.
[gnu-emacs-elpa] / Makefile
index f322a8174abafc2730435357b3944fdc2ff66830..868bd2a8dbb3df5b9401013045b7bf69da941d4c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,18 @@ test: ${DEPENDENCIES}
        -L . \
        -l ert \
        -l ert-async \
-       -l test/test-helper.el \
+       -l test/ci-coverage.el \
        -l test/context-coloring-test.el \
        -f ert-run-tests-batch-and-exit
 
-.PHONY: all bench compile uncompile clean test
+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 \
+       -f ert-run-tests-batch-and-exit
+
+.PHONY: all bench compile uncompile clean test cover