diff options
author | Tianxiang Xiong <tianxiang.xiong@gmail.com> | 2017-07-21 00:42:23 -0700 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2017-07-23 08:28:21 +0300 |
commit | 55fecc730bf0ba621cf6cfd27a1a66e62884f6c2 (patch) | |
tree | aad8f5993db2faf45be67af58333c063a2093431 | |
parent | 7af913fc20192d70fd49311d30887d2217c586e6 (diff) |
Fail on `checkdoc` warnings
-rw-r--r-- | test/cider-checks.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cider-checks.el b/test/cider-checks.el index 06ca70ea..577dd3af 100644 --- a/test/cider-checks.el +++ b/test/cider-checks.el @@ -20,5 +20,9 @@ "\\`[^.].*\\.el\\'" t))) (dolist (file files) (checkdoc-file file)) + (when (get-buffer "*Warnings*") + (message "Failing due to checkdoc warnings...") + (kill-emacs 1)) + (when (apply #'check-declare-files files) (kill-emacs 1))) |