Files
spring-boot-demo/resttemplate-to-restclient/scripts/run-all.sh
T

16 lines
668 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerates every file in output/ on Spring Boot 4.2.0 (GA) and on the 4.1.3 baseline.
# Needs JDK 25 and Maven 3.9 on PATH, plus network access to Maven Central.
# scripts/openrewrite.sh downloads the Moderne recipe artifact; it is the only step that
# needs more than the jars the module already depends on.
set -euo pipefail
cd "$(dirname "$0")/.."
scripts/openrewrite.sh >/dev/null
mvn -B -q test
mvn -B -q -f pom-41.xml test
scripts/compile-broken.sh pom.xml >/dev/null
scripts/compile-broken.sh pom-41.xml >/dev/null
scripts/probe-jars.sh >/dev/null
scripts/probe-properties.sh >/dev/null
echo "done: $(ls output | wc -l) files in output/"