Skip to content

Commit 48eb8c1

Browse files
committed
Fail on checkdoc warnings
1 parent 8ba444c commit 48eb8c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/cider-checks.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,9 @@
4545
"\\`[^.].*\\.el\\'" t)))
4646
(dolist (file files)
4747
(checkdoc-file file))
48+
(when (get-buffer "*Warnings*")
49+
(message "Failing due to checkdoc warnings...")
50+
(kill-emacs 1))
51+
4852
(when (apply #'check-declare-files files)
4953
(kill-emacs 1)))

0 commit comments

Comments
 (0)