aboutsummaryrefslogtreecommitdiff
path: root/Cask
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-05 03:28:49 -0500
committerCraig Jennings <c@cjennings.net>2026-05-05 03:28:49 -0500
commit88da84f2ce342f006e8cfb3ec302cc9e32af0591 (patch)
tree5b7ca6c3085214a5574e5144f91479f6bf94c711 /Cask
parentcbd2334ee3a589bb9335e1bd2a26f3e906180c38 (diff)
downloadorg-drill-88da84f2ce342f006e8cfb3ec302cc9e32af0591.tar.gz
org-drill-88da84f2ce342f006e8cfb3ec302cc9e32af0591.zip
build: add lint, compile, validate-parens, and :slow tag filter
I want a stronger maintainer-discipline baseline as I take over more of this project, so I added four targets that are common in Emacs-Lisp packages. `make lint` runs `checkdoc`, `package-lint`, and `elisp-lint` over `org-drill.el`. It's informational for now and doesn't fail on findings, because the existing source has known docstring and style debt to clear. I'll re-tighten to a hard gate after the docstring pass is done. `make compile` byte-compiles the source with `byte-compile-error-on-warn nil`, matching the existing `build` target's leniency. `make validate-parens` is a fast structural check that surfaces the line of the offending paren without needing a full byte-compile pass. I also added a `:slow` tag filter to the default ERT runners. `test-unit`, `test-integration`, `test-file`, and `coverage` now run with `'(not (tag :slow))`. Tests tagged `:slow` get skipped on the fast feedback path. `test-name` is left alone, since a pattern argument means the user wants those tests run whether or not they're tagged slow. Cask gets `package-lint` and `elisp-lint` as development deps. `.gitignore` gets `*-autoloads.el` so the Cask build artifact stays out.
Diffstat (limited to 'Cask')
-rw-r--r--Cask4
1 files changed, 3 insertions, 1 deletions
diff --git a/Cask b/Cask
index c9ebcb2..5da2b9a 100644
--- a/Cask
+++ b/Cask
@@ -7,6 +7,8 @@
(development
(depends-on "assess")
- (depends-on "undercover"))
+ (depends-on "undercover")
+ (depends-on "package-lint")
+ (depends-on "elisp-lint"))
(depends-on "org" "9.2")