From: John Kitchin Date: Tue, 3 Mar 2015 17:28:12 +0000 (-0500) Subject: add Makefile X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=commitdiff_plain;h=016f8cf0ebbd389e8637d4b814e7981caf56ccb3 add Makefile --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6019338 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +EMACS ?= emacs +CASK_EXEC ?= cask exec + +all: test + +test: clean-elc + ${MAKE} unit + +unit: + ${CASK_EXEC} ${EMACS} -Q -batch -l org-ref-init.el -l org-ref-test.el --eval "(ert t)" + +compile: + ${CASK_EXEC} ${EMACS} -Q -batch -f batch-byte-compile org-ref-init.el + +clean-elc: + rm -f f.elc + +.PHONY: all test