diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-11-24 02:17:04 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-11-24 02:17:04 -0500 |
commit | cb7f7dcf0c580aa3575bdd8adc59b281bb5003dd (patch) | |
tree | a52421d95f3dcff356c2b3dec06b360a8bd99c3c | |
parent | 3c85640bb42c0fbe586255336d4bef27d942b515 (diff) | |
parent | 4dbe38c68f01f0e30cffac9500e86dbef08ce09b (diff) | |
download | bog-cb7f7dcf0c580aa3575bdd8adc59b281bb5003dd.tar.gz |
Merge pull request #4 from rranelli/tests-with-makefile
Before merging, Makefile code specific for maven-test-mode was removed.
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile | 18 | ||||
-rw-r--r-- | bog-todo | 2 |
3 files changed, 23 insertions, 1 deletions
@@ -1 +1,5 @@ /bog-autoloads.el + +# Needed for `make test` +.downloads +dash.el diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ae2638a --- /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 *.elc @@ -56,7 +56,7 @@ extensions (or maybe just take the extension from the original file). * Testing -** ENH Ability to run tests from makefile +** DONE Ability to run tests from makefile ** DONE Put some of the common setup in macros |