Skip to content

Commit 7caf0c8

Browse files
committed
Add compile error on warn flag
1 parent e8b18af commit 7caf0c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ build:
2727
unix-compile:
2828
@$(CASK) $(EMACS) -Q --batch \
2929
-L . \
30-
--eval '(setq treemacs-no-load-time-warnings t)' \
30+
--eval '(setq byte-compile-error-on-warn t treemacs-no-load-time-warnings t)' \
3131
-f batch-byte-compile $(DAP-GENERAL) $(DAP-CLIENTS)
3232

3333
windows-compile:
3434
@$(CASK) $(EMACS) -Q --batch \
3535
-l test/windows-bootstrap.el \
3636
-L . \
37-
--eval '(setq treemacs-no-load-time-warnings t)' \
37+
--eval '(setq byte-compile-error-on-warn t treemacs-no-load-time-warnings t)' \
3838
-f batch-byte-compile $(DAP-GENERAL) $(DAP-CLIENTS)
3939

4040
unix-ci: clean build unix-compile unix-test

0 commit comments

Comments
 (0)