#!/usr/bin/env bash # Regenerates every file under output/. # # ./scripts/run-all.sh # # Needs a JDK 25 and Maven 3.9. Transcripts 01-14 are written by the test suite, so each figure in the # article is an assertion that fails the build if it stops being true. Transcripts 15-17 are read out of the # Spring Boot / Spring Framework sources and jars by capture-facts.sh (network access to Maven Central needed once). # Transcript 03 (runners without @Order) is the one that is allowed to change from run to run: that is its point. set -euo pipefail cd "$(dirname "$0")/.." echo "== test suite (transcripts 01-14)" mvn -B test echo "== facts read from sources and jars (15-17)" ./scripts/capture-facts.sh echo echo "output:" ls -1 output