diff options
| author | Vegard Øye <vegard_oye@hotmail.com> | 2011-03-21 15:57:34 +0100 |
|---|---|---|
| committer | Vegard Øye <vegard_oye@hotmail.com> | 2011-03-21 15:57:34 +0100 |
| commit | 98ae47776ef692c7292ebe2ef583ba3e3a0be933 (patch) | |
| tree | db3ca67e7002c9dce90359269f961ef59be607fe /Makefile | |
| parent | 912cb63fd07ecf1bce46e299d68760d56e7c80b7 (diff) | |
Add "y or n" prompt to "make emacs" rule
Unless one answers "y" within two seconds, the tests are skipped.
They can be run manually with `M-x evil-tests-run'.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -22,7 +22,10 @@ clean: .PHONY: emacs emacs: clean - emacs -Q -L . -l evil-tests.el --eval "(evil-mode 1)" --eval "(ert-run-tests-interactively t)" & + emacs -Q -L . -l evil-tests.el --eval "(evil-mode 1)" \ +--eval "(if (y-or-n-p-with-timeout \"Run tests? \" 2 nil) \ +(ert-run-tests-interactively t) \ +(message \"You can run the tests at any time with \`M-x evil-tests-run\'\"))" & .PHONY: term term: terminal |
