diff options
| author | John MacFarlane <[email protected]> | 2025-05-11 11:01:44 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-05-11 11:01:44 -0700 |
| commit | f37b12d9419085fa12f095b6c5b2513542da431c (patch) | |
| tree | 528e3270f7aaa4d98c6f7b31e78032cf7c54d170 | |
| parent | ab67c023591b25b97200df3d9a90dd98aa13dd8d (diff) | |
Use jq instead of json_reformat in validate-docx-golden-tests2.
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | tools/validate-docx2.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -251,7 +251,7 @@ validate-docx-golden-tests: ## validate docx golden tests against schema validate-docx-golden-tests2: ## validate docx golden tests using OOXMLValidator which dotnet || ("dotnet is required" && exit 1) - which json_reformat || ("json_reformat is required" && exit 1) + which jq || ("jq is required" && exit 1) test -d ./OOXML-Validator || \ (git clone https://github.com/mikeebowen/OOXML-Validator.git \ && cd OOXML-Validator && dotnet build --configuration=Release) diff --git a/tools/validate-docx2.sh b/tools/validate-docx2.sh index e46180620..34bfa9417 100644 --- a/tools/validate-docx2.sh +++ b/tools/validate-docx2.sh @@ -5,6 +5,6 @@ set -eu (for i in "$@"; do dotnet run --configuration=Release --framework=net8.0 --no-build --no-restore --project OOXML-Validator/OOXMLValidatorCLI -- "${i}" -r done) >validation -json_reformat -s <validation +jq <validation [ $(cat validation | wc -c) = 2 ] |
