Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
11 lines
562 B
Bash
Executable File
11 lines
562 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Regenerates output/13-spring-boot.txt (in the module's output folder). Needs JDK 25 and Maven.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/../boot"
|
|
MVN="mvn -B ${MVN_ARGS:-}"
|
|
$MVN -q clean compile 2>&1 | grep -vE "Picked up|WARNING" || true
|
|
$MVN -q dependency:build-classpath -Dmdep.outputFile=target/cp.txt >/dev/null 2>&1
|
|
java -Duser.timezone=UTC -cp "target/classes:$(cat target/cp.txt)" com.ankurm.javatime.boot.BootDemo 2>&1 \
|
|
| grep -vE "Picked up|^WARNING|^SLF4J" > ../output/13-spring-boot.txt
|
|
echo "wrote ../output/13-spring-boot.txt"
|