diff options
| author | Vegard Øye <vegard_oye@hotmail.com> | 2011-03-04 22:23:48 +0100 |
|---|---|---|
| committer | Vegard Øye <vegard_oye@hotmail.com> | 2011-03-04 22:23:48 +0100 |
| commit | cde2e8870d6de28ab855ac3ea7969b3bfad45bff (patch) | |
| tree | 517f34d04f92012ce2246e9987c2a016c975ec1a /Makefile | |
| parent | 9c38fb8a7575ae02cccd977e4e3e346c628e43d6 (diff) | |
Make compilation a prerequisite for "make test"
This prevents outdated .elc files from sabotaging the tests. Testing
without compiling is achieved with the plural, "make tests".
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,11 +1,20 @@ +SHELL = /bin/sh + +.PHONY: all all: compile +.PHONY: compile compile: clean emacs --batch -Q -L . -f batch-byte-compile evil*.el -test: +.PHONY: test +test: compile tests + +.PHONY: tests +tests: emacs --batch -Q -L . -l evil-tests.el -f ert-run-tests-batch-and-exit +.PHONY: clean clean: rm -f *~ rm -f \#*\# |
