Skip to content

Commit

Permalink
* Makefile (%.elc): Error-out on bytecomp warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkcms committed May 30, 2024
1 parent 819c180 commit 09b74dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ARGS := --batch -Q
compile: $(ELC)

%.elc: %.el
${emacs} ${ARGS} -L . -f batch-byte-compile $<
${emacs} ${ARGS} -L . \
--eval '(setq byte-compile-error-on-warn t)' \
-f batch-byte-compile $<

lint:
file=$$(mktemp) \
Expand Down

0 comments on commit 09b74dd

Please sign in to comment.