Skip to content

Commit 35927e2

Browse files
committed
Set byte-compile-error-on-warn to t when byte compiling the package
1 parent ee442d8 commit 35927e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
EMACS ?= emacs
1919
RM ?= rm -f
2020

21-
.PHONY: all test compile clean
21+
.PHONY: all compile test clean
2222

2323
all: compile test
2424

25+
compile:
26+
$(EMACS) -Q -batch --eval "(setq byte-compile-error-on-warn t)" -f batch-byte-compile impostman.el
27+
2528
test: clean
2629
$(EMACS) -Q -batch -L . -l impostman -l tests/impostman-tests -f ert-run-tests-batch-and-exit
2730

28-
compile:
29-
$(EMACS) -Q -batch -f batch-byte-compile impostman.el
30-
3131
clean:
3232
$(RM) *.elc

0 commit comments

Comments
 (0)