diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/corpus-validate.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/corpus-validate.sh b/scripts/corpus-validate.sh new file mode 100755 index 0000000..ba46812 --- /dev/null +++ b/scripts/corpus-validate.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Validate a bible corpus by code or by .tsv path (see lectio --corpus-check). +# Usage: scripts/corpus-validate.sh <code|path-to-tsv> +set -e +[ -n "$1" ] || { echo "usage: $0 <code|path.tsv>" >&2; exit 2; } +exec go run ./cmd/lectio --corpus-check "$1" |
