Ratatoskr/scripts/ridge-bake/tests/run.sh
Nibu 5b7b4c2eeb
All checks were successful
Rat dev preview / Build dev preview (push) Successful in 3m6s
Ridge backdrop A+D: baked ridge planes over the live sky (Vienna) (#163)
2026-11-14 11:07:58 +00:00

7 lines
415 B
Shell
Executable file

#!/bin/sh
# Usage: RIDGE_PY=<venv python> RIDGE_TILES=<tiles dir> tests/run.sh [test_ridge.py|mutate.py]
# RIDGE_WORK (cache dir) defaults to a fresh directory under $TMPDIR.
: "${RIDGE_PY:?RIDGE_PY must name the python of the baker venv}"
export RIDGE_WORK="${RIDGE_WORK:-${TMPDIR:-/tmp}/ridge-bake-work}"; mkdir -p "$RIDGE_WORK"
HERE=$(cd "$(dirname "$0")" && pwd)
exec "$RIDGE_PY" -I "$HERE/${1:-test_ridge.py}"