From 0f156f262c2ec92de0ca751d9911b7b7d3a8bda0 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sat, 23 Nov 2024 23:52:46 +0800 Subject: [PATCH] ci: Treat compile warnings as errors (#4619) * ci: Treat compile warnings as errors * ci: Limit to compile commadn --- Eask | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Eask b/Eask index 1af2bc84a5e..4e06d8593f5 100644 --- a/Eask +++ b/Eask @@ -51,4 +51,7 @@ (setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432 -(setq byte-compile-docstring-max-column 1000) +(add-hook 'eask-before-compile-hook + (lambda () + (setq byte-compile-error-on-warn t) + (setq byte-compile-docstring-max-column 1000)))