#!/usr/bin/env bash # Starts the app on :8080 to poke at by hand. Pass "vt" to enable virtual threads. # ./scripts/run.sh -> platform threads (Boot default) # ./scripts/run.sh vt -> spring.threads.virtual.enabled=true set -euo pipefail cd "$(dirname "$0")/.." VT_FLAG="false" if [ "${1:-}" = "vt" ]; then VT_FLAG="true" fi mvn -q -B spring-boot:run -Dspring-boot.run.arguments="--spring.threads.virtual.enabled=${VT_FLAG}"