Skip to content

Commit 8410baf

Browse files
committed
Restore CI failure on byte-compiler warnings
This reverts commit e8062ba.
1 parent 5b3d086 commit 8410baf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ compile: $(ELCFILES)
4343

4444
$(ELCHECKS): check-%: %.el
4545
@$(BATCH) --eval '(when (check-declare-file "$*.el") (error "check-declare failed"))'
46-
@$(BATCH) -f batch-byte-compile $*.el
46+
@$(BATCH) \
47+
--eval "(setq byte-compile-error-on-warn t)" \
48+
-f batch-byte-compile $*.el
4749
@$(RM) $*.elc
4850
@if [ -f "$(<:%.el=tests/%-tests.el)" ]; then \
4951
if $(BATCH) --eval "(require 'ert)" 2> /dev/null; then \

0 commit comments

Comments
 (0)