From 66e0c539d36f8feff8872f2fe2acd44b4846124e Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 24 Oct 2024 10:13:49 -0700 Subject: [PATCH] Add missing find-invalid-json.sh to bin/index.html --- bin/README.md | 26 ++++++++++++++++++++++++++ bin/index.html | 14 ++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/bin/README.md b/bin/README.md index ea1539f59..b36eb4d9d 100644 --- a/bin/README.md +++ b/bin/README.md @@ -460,6 +460,32 @@ We recommend that this tool be invoked via the top level `Makefile`: make find_missing_links ``` +
+### [find-invalid-json.sh](%%REPO_URL%%/bin/find-invalid-json.sh) +
+ +This script uses the `jparse(1)` tool, which can be obtained from the +[mkiocccentry repo](https://github.com/ioccc-src/mkiocccentry)'s copy of the +[jparse repo](https://github.com/xexyl/jparse/), and searches for any invalid +JSON files in the tree. + +This is important because the IOCCC makes extensive use of JSON. + +Usage: + +``` + bin/find-invalid-json.sh -v 1 +``` + +If no invalid JSON files are found, this tool exits 0 with no output +(debug messages not withstanding), otherwise this tool will exit non-zero. + +We recommend that this tool be invoked via the top level `Makefile`: + +``` + make find_invalid_json +``` +
### [format-headers.sh](%%REPO_URL%%/bin/format-headers.sh) diff --git a/bin/index.html b/bin/index.html index d82af36f8..c1901331b 100644 --- a/bin/index.html +++ b/bin/index.html @@ -669,6 +669,20 @@ that is NOT an IOCCC markdown best practice.

details.

We recommend that this tool be invoked via the top level Makefile:

    make find_missing_links
+
+

find-invalid-json.sh

+
+

This script uses the jparse(1) tool, which can be obtained from the +mkiocccentry repo’s copy of the +jparse repo, and searches for any invalid +JSON files in the tree.

+

This is important because the IOCCC makes extensive use of JSON.

+

Usage:

+
    bin/find-invalid-json.sh -v 1
+

If no invalid JSON files are found, this tool exits 0 with no output +(debug messages not withstanding), otherwise this tool will exit non-zero.

+

We recommend that this tool be invoked via the top level Makefile:

+
    make find_invalid_json

format-headers.sh