aboutsummaryrefslogtreecommitdiff
path: root/scripts/corpus-validate.sh
blob: ba468121c45263f9e365f9bfc3fbf5456f73eb70 (plain) (blame)
1
2
3
4
5
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"