aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-03-05 23:01:31 -0500
committerKyle Meyer <kyle@kyleam.com>2015-03-05 23:01:31 -0500
commit58c4022d75c8de6896412a592be00812d16fdca2 (patch)
tree5d506e2ceef19d1db73f493c6505daa66ed4a5ba /Makefile
parent19e82c71aa6925482b3ae18d3e4f2724be141080 (diff)
downloadsnakemake-mode-58c4022d75c8de6896412a592be00812d16fdca2.tar.gz
Add tests
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 $<