#!/usr/bin/env bash # Regenerates every file under output/ -- the test suite writes each one itself via the # Transcript helper, overwriting it in place. Unlike every other module in this series, this # one needs Docker and the baked image from scripts/bake-image.sh: these tests start a real # container running a real small model, not a scripted one. set -euo pipefail cd "$(dirname "$0")/.." if ! docker image inspect ollama-baked-qwen05b-minilm:local >/dev/null 2>&1; then echo "Image ollama-baked-qwen05b-minilm:local not found -- run scripts/bake-image.sh first." >&2 exit 1 fi rm -rf target mvn -q -o test