diff options
| author | John MacFarlane <[email protected]> | 2023-12-18 10:53:18 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-12-18 10:53:18 -0800 |
| commit | 72b9b3b70f75bcb61b9959541c7a6c6041b83c56 (patch) | |
| tree | c78e2fc41d03162e581ebae1464f6b81d04c7ec0 /Makefile | |
| parent | f7e31adc9708760565c4533781f0bf78e7782899 (diff) | |
Makefile: add validate-docx-golden-tests target.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -235,6 +235,13 @@ update-website: ## update website and upload make -C $(WEBSITE) upload .PHONY: update-website +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 +.PHONY: validate-docx-golden-tests + modules.csv: $(PANDOCSOURCEFILES) @rg '^import.*Text\.Pandoc\.' --with-filename $^ \ | rg -v 'Text\.Pandoc\.(Definition|Builder|Walk|Generic)' \ |
