branch: elpa/d-mode
commit ea32e7319ab8ef3bc5c4c532510248c5b8a07d25
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>

    Makefile: Test byte-compiled version, too
    
    Catch regressions such as the one fixed by the previous commit.
---
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 5fe40d9..561b565 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,13 @@
 emacs ?= emacs
 all: test
 
-test: clean
-       cask exec emacs -Q -batch -l d-mode-test.el -l d-mode.el -f 
ert-run-tests-batch-and-exit
+test: test-source test-compiled
+
+test-source: clean
+       cask exec emacs -Q -batch -l d-mode-test.el -l d-mode.el  -f 
ert-run-tests-batch-and-exit
+
+test-compiled: compile
+       cask exec emacs -Q -batch -l d-mode-test.el -l d-mode.elc -f 
ert-run-tests-batch-and-exit
 
 compile:
        $(emacs) -Q -batch -f batch-byte-compile d-mode.el

Reply via email to