aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--tools/validate-docx2.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 36e9c379c..0bfe3dffe 100644
--- a/Makefile
+++ b/Makefile
@@ -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 ]