Files
spring-boot-demo/custom-starter/scripts/run-all.sh
T
Claude c418589251 Add custom-starter module: a Boot 4 auto-configuration starter with conditions, metadata and runner tests
Two-jar starter (autoconfigure + starter), a demo app, and 17 captured transcripts
covering AutoConfiguration.imports, @ConditionalOn*, ordering, optional Jackson 3
integration, configuration metadata and the Boot 4 module split.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Uu7q8vPeREyT4218EJPzz1
2026-09-24 06:53:07 +00:00

21 lines
660 B
Bash
Executable File

#!/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