Files

10 lines
393 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerates every file under output/ from the test suite. Needs the tesseract OCR program on the PATH
# (apt install tesseract-ocr). No Docker, no API key, no network.
set -euo pipefail
cd "$(dirname "$0")/.."
command -v tesseract >/dev/null || { echo "tesseract not found"; exit 1; }
rm -rf target
mvn -q -B test 2>&1 | grep -E "Tests run:|BUILD|FAIL" || true
ls output