aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-06-22 18:31:54 +0200
committerJonas Smedegaard <dr@jones.dk>2025-06-22 18:31:54 +0200
commit98d835fc5bcf716ad20811c5620301ce667edd00 (patch)
treef393da45e53c99a023c883b4725b8dd6e2afa5fb /Makefile
parentf1996e090f151fa930beb93eb62e716e2444a396 (diff)
tighten luacheck options in make target check
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 575f9b5..3921cbb 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,9 @@ $(WORKFLOW_DIAGRAMS): %.svg: %.cwl
| dot -Tsvg > $@
check: $(DIFFTESTS:%=check-md-%)
- luacheck --quiet $(FILTER)
+ $(strip luacheck --quiet --std none \
+ --read-globals assert error ipairs os type pandoc PANDOC_VERSION \
+ -- $(FILTER)
$(DIFFTESTS:%=check-md-%): check-md-%: %.md %.md.md
-$(strip $(PANDOC) --to commonmark --lua-filter $(FILTER) --wrap preserve < $< \