Skip to content

Commit 0f156f2

Browse files
authored
ci: Treat compile warnings as errors (#4619)
* ci: Treat compile warnings as errors * ci: Limit to compile commadn
1 parent ae49070 commit 0f156f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Eask

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,7 @@
5151

5252
(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432
5353

54-
(setq byte-compile-docstring-max-column 1000)
54+
(add-hook 'eask-before-compile-hook
55+
(lambda ()
56+
(setq byte-compile-error-on-warn t)
57+
(setq byte-compile-docstring-max-column 1000)))

0 commit comments

Comments
 (0)