diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-05 03:28:49 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-05 03:28:49 -0500 |
| commit | 88da84f2ce342f006e8cfb3ec302cc9e32af0591 (patch) | |
| tree | 5b7ca6c3085214a5574e5144f91479f6bf94c711 /tests | |
| parent | cbd2334ee3a589bb9335e1bd2a26f3e906180c38 (diff) | |
| download | org-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 'tests')
0 files changed, 0 insertions, 0 deletions
