aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVegard Øye <vegard_oye@hotmail.com>2011-03-05 14:00:29 +0100
committerVegard Øye <vegard_oye@hotmail.com>2011-03-05 14:00:29 +0100
commit0a7584a1d0f26b8d9edf6b707ba0aba0b0d0fb82 (patch)
tree24fb4eed3642f6bf23502a15848816544a68e6f5 /Makefile
parent9f6cc429277a905860b7d1f3e003dcca8007e79a (diff)
Add "make emacs" target
This fires up a fresh instance of Emacs and loads Evil and its tests into memory. The tests are run interactively, that is, in their own *ert* buffer. From there they can be re-run with "r", inspected with ".", etc.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index abc5437..3539f59 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,16 @@ test: compile tests
.PHONY: tests
tests:
- emacs --batch -Q -L . -l evil-tests.el -f ert-run-tests-batch-and-exit
+ emacs --batch -Q -L . -l evil-tests.el -f \
+ert-run-tests-batch-and-exit
.PHONY: clean
clean:
rm -f *~
rm -f \#*\#
rm -f *.elc
+
+.PHONY: emacs
+emacs: clean
+ emacs -Q -L . -l evil-tests.el --eval \
+"(call-interactively 'evil-tests-run)" &