aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-12-18 12:06:59 -0800
committerJohn MacFarlane <[email protected]>2023-12-18 12:06:59 -0800
commit0849baef1e6844c85956e4e56db681d78af1b5cc (patch)
treebc307bc8559de3759380947db0ce22e4b2c7b84b /Makefile
parent1d2ccb41ed97fa5b6675083be6cb17320f3db946 (diff)
Add custom validate-docx.sh script.
This checks files other than document.xml in a docx container. Thanks to @edwintorok.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3d7de48aa..616390e33 100644
--- a/Makefile
+++ b/Makefile
@@ -239,7 +239,7 @@ validate-docx-golden-tests: ## validate docx golden tests against schema
which xmllint || ("xmllint is required" && exit 1)
test -d ./docx-validator || \
git clone https://github.com/devoidfury/docx-validator
- cd docx-validator && for f in ../test/docx/golden/*.docx; do ./validate $$f || exit 1 ; done
+ sh ./tools/validate-docx.sh test/docx/golden/*.docx
.PHONY: validate-docx-golden-tests
validate-epub: ## generate an epub and validate it with epubcheck