Files
texrra-engine/scripts/verify-route-d.sh
T
gloamxun dff0483bca Add a verification script and record live smoke evidence
scripts/verify-route-d.sh runs cargo fmt --check and the full offline workspace
test suite from the repository root. The status document points at the script
and records a live check of the debug server: POST /preview answered 200 with
X-Preview-Engine: route-d, one page and no warnings, and POST /api/route-d/pdf
answered 200 with a PDF body.
2026-10-27 03:58:44 +08:00

13 lines
324 B
Bash
Executable File

#!/usr/bin/env bash
# Verify the route-D workspace: formatting and the full offline test suite.
set -euo pipefail
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$root"
echo "== cargo fmt --all -- --check"
cargo fmt --all -- --check
echo "== cargo test --workspace --offline"
cargo test --workspace --offline