#!/usr/bin/env bash # Regenerates every file under output/. # # ./scripts/run-all.sh # # Needs a JDK 25 and Maven 3.9. Transcripts 01-06, 08-11 and 16 come out of the test suite, which is the point: # the figures in the article are assertions that fail the build if they stop being true. # Transcripts 07 and 12-15 are read from the built jars and from builds that are made to fail on purpose. set -euo pipefail cd "$(dirname "$0")/.." echo "== test suite (transcripts 01-06, 08-11, 16)" mvn -B test echo "== jar contents, metadata, Boot 4 locations and deliberate failures (07, 12-15, 17)" ./scripts/capture-jar-facts.sh echo echo "output:" ls -1 output