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