#!/usr/bin/env bash # Regenerates every file under output/. # # ./scripts/run-all.sh # # Needs a JDK 21 or newer, Maven 3.9 and a MySQL 8.4 server reachable with the defaults in # src/main/resources/application.properties (localhost:3306, database library, user library, password # library), or the same values in DB_URL / DB_USER / DB_PASSWORD. All four transcripts are written by the # test suite, so every figure in the article is an assertion that fails the build if it stops being true. set -euo pipefail cd "$(dirname "$0")/.." mvn -B test echo echo "output:" ls -1 output