From 4dbe38c68f01f0e30cffac9500e86dbef08ce09b Mon Sep 17 00:00:00 2001 From: renan-ranelli Date: Mon, 24 Nov 2014 02:16:33 -0200 Subject: Add Makefile and test target --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ff1296a --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +EMACS := emacs +CURL := curl --silent + +DASH_URL := https://raw.githubusercontent.com/magnars/dash.el/master/dash.el + +.PHONY: test + +test: .downloads + ${EMACS} -Q --batch -L . \ + -l bog-tests \ + --eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))" + +.downloads: + ${CURL} ${DASH_URL} > dash.el + touch .downloads + +clean: + @rm -rf maven-test-mode-*/ maven-test-mode-*.tar *.elc -- cgit v1.2.3