aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eb74cad..6bf7413 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,11 @@
EMACS = emacs
-.PHONY: check
+.PHONY: build check clean
+build:
+ $(EMACS) -Q --batch -L . --eval="(progn (setq byte-compile-debug t) (byte-recompile-directory \".\" 0))"
+
check:
$(EMACS) -Q --batch -L . -l tests/exiftool-tests.el -f ert-run-tests-batch-and-exit
+
+clean:
+ rm -vf *.elc tests/*.elc