yak(make-checkverify-format-gate-rewrites-files-instead-of-checking-lnje): make check/verify format gate rewrites files instead of checking

This commit is contained in:
Willem van den Ende
2026-10-28 21:50:01 +00:00
parent a6a7b3a8c7
commit 4e7798c906
4 changed files with 39 additions and 11 deletions
+4 -2
View File
@@ -62,9 +62,11 @@ test:
test-elisp:
emacs --batch -Q -l org -l ox-md -l scripts/roam-export-blog.el -l scripts/roam-export-blog-test.el -f ert-run-tests-batch-and-exit
# Format code
# Format code in both apps. Mutating convenience target: `check` (and so
# `verify`) never writes. If a gate fails on formatting, run this.
format:
@make -C app format
@$(MAKE) -C app MISE_BIN=$(MISE_BIN) format
@$(MAKE) -C blogex MISE_BIN=$(MISE_BIN) format
# Serve the app
serve: