aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-06-06 16:57:35 +0200
committerJonas Smedegaard <dr@jones.dk>2024-06-06 16:57:35 +0200
commitccf13d20aff09236e0506128c823142c5d935035 (patch)
tree319285491355533c34788d18eee25ad7301f7e76
parent7ced8c0f13aa47c44060700db733c482db5fb5b1 (diff)
add make target lint-sdml
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 67af9e4..24a7ef9 100644
--- a/Makefile
+++ b/Makefile
@@ -112,11 +112,17 @@ $(PAD_ARTICLES:%=pad-import-%): pad-import-%:
pad-import-ref:
hedgedoc import ref.bib
-lint: lint-markdown
+lint: lint-markdown lint-sdml
lint-markdown:
@mdl --ignore-front-matter --style .mdl.rb $(filter-out %/index.qmd,$(wildcard $(addsuffix /*.qmd,$(TIDY_MARKDOWN))))
+lint-sdml:
+ sdml validate learn
+ sdml validate learn10tac
+ sdml validate learntrap
+ sdml validate waste
+
tidy: tidy-bibtex tidy-perl
tidy-bibtex: ref.bib