Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7rAEgiNi4Fo94nVoB
11 lines
451 B
Bash
Executable File
11 lines
451 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Regenerates every file in output/. Needs JDK 25 and Maven; the first Maven run must be online.
|
|
# Each file is written by a JUnit test that asserts the same facts it prints, so a claim in the article
|
|
# fails the build the moment it stops being true. Kafka runs inside the test JVM: no Docker, no ZooKeeper.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
rm -f output/*.txt
|
|
mkdir -p output
|
|
mvn -B -q -T1 test
|
|
echo "done:"; ls -1 output
|