From f37b12d9419085fa12f095b6c5b2513542da431c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 11 May 2025 11:01:44 -0700 Subject: [PATCH] Use jq instead of json_reformat in validate-docx-golden-tests2. --- Makefile | 2 +- tools/validate-docx2.sh | 2 +- 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