#!/usr/bin/env bash # Regenerates every file under docs/output/. # # ./scripts/run-all.sh # # Needs a JDK 25 and Maven 3.9. Everything except the two javap transcripts and the live # diagnostics dump comes out of the test suite, which is the point: the numbers in the article # are assertions that fail the build if they stop being true. set -euo pipefail cd "$(dirname "$0")/.." echo "== test suite (transcripts 01-20)" mvn -B test echo "== javap transcripts (22)" ./scripts/capture-bytecode.sh echo "== live diagnostics endpoint (23)" ./scripts/capture-diagnostics.sh echo echo "docs/output:" ls -1 docs/output