Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01B38FGKKam5SCGgwgduVAh3
21 lines
780 B
Bash
Executable File
21 lines
780 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Regenerates everything under docs/output/.
|
|
#
|
|
# scripts/run-all.sh uses RAG_PG_URL if set, otherwise starts PostgreSQL with scripts/pg-up.sh
|
|
# docker compose up -d && RAG_PG_URL=jdbc:postgresql://localhost:5432/ragdb scripts/run-all.sh
|
|
#
|
|
# No API key is needed: the tests use scripted stand-ins for the chat and embedding models.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
if [ -z "${RAG_PG_URL:-}" ]; then
|
|
scripts/pg-up.sh
|
|
export RAG_PG_URL="jdbc:postgresql://127.0.0.1:${PGPORT:-5439}/ragdb"
|
|
fi
|
|
|
|
mvn -B -q test # transcripts 01-11 and 15 (each test writes one and asserts the same numbers)
|
|
scripts/capture-javap.sh # 12
|
|
scripts/capture-dependencies.sh # 13
|
|
scripts/capture-legacy-compile.sh # 14
|
|
ls docs/output
|