#!/usr/bin/env bash # Regenerates every file under output/. # # ./scripts/run-all.sh # # Needs a JDK 25 and Maven 3.9. Transcripts 01-18 come out of the test suite, which is the point: # the figures in the two articles are assertions that fail the build if they stop being true. set -euo pipefail cd "$(dirname "$0")/.." echo "== test suite (transcripts 01-18)" mvn -B test echo "== package the runnable Boot app" mvn -B -q -DskipTests package echo "== Boot start-up failure reports (19-22)" ./scripts/capture-failure-analysis.sh echo "== bytecode and pom facts (23-26)" ./scripts/capture-bytecode.sh echo echo "output:" ls -1 output