#!/usr/bin/env bash # Builds the module and writes its runtime classpath to target/cp.txt (sourced by the other scripts). set -euo pipefail cd "$(dirname "$0")/.." mvn -B -q -f ../pom.xml -pl local-tool-calling -am compile dependency:build-classpath \ -Dmdep.outputFile=target/cp.txt >/dev/null CP="target/classes:$(cat target/cp.txt)"