aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVegard Øye <vegard_oye@hotmail.com>2011-03-05 16:57:54 +0100
committerVegard Øye <vegard_oye@hotmail.com>2011-03-05 16:57:54 +0100
commit3a0c912926bcb3424d878292b6379c952f6bd07e (patch)
treefd1f25b22cab3081577f7611a8f9ca3504e431f0 /Makefile
parent0a7584a1d0f26b8d9edf6b707ba0aba0b0d0fb82 (diff)
Add "make terminal"
This is like "make emacs", but runs Emacs in the terminal.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3539f59..770fb51 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,7 @@ 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:
@@ -22,6 +21,9 @@ clean:
rm -f *.elc
.PHONY: emacs
-emacs: clean
- emacs -Q -L . -l evil-tests.el --eval \
-"(call-interactively 'evil-tests-run)" &
+emacs: compile
+ emacs -Q -L . -l evil-tests.el --eval "(call-interactively 'evil-tests-run)" &
+
+.PHONY: terminal
+terminal: compile
+ emacs -nw -Q -L . -l evil-tests.el --eval "(call-interactively 'evil-tests-run)"