aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4307101..5adaef7 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,12 @@ help:
@printf "\nOther:\n\n"
@printf " clean Remove generated files.\n"
@printf " help Print this message.\n"
+ @printf " test Run tests.\n"
+
+.PHONY: test
+test: $(main_elc)
+ @$(EMACS) -L . -l test-snakemake-mode \
+ --eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))"
%.elc: %.el
@$(EMACS) -f batch-byte-compile $<