#!/usr/bin/env bash # Inner development loop: incremental compile, then the test suite. # # Installs into the cached venv rather than building a wheel, so a one-file # change is a recompile plus a relink. set -euo pipefail cd /io . scripts/_env.sh "$PY" -m pip install -q --no-build-isolation --no-deps -e . 2>&1 | tail -5 || { echo "editable install failed; falling back to a plain install" >&2 "$PY" -m pip install -q --no-build-isolation --no-deps --force-reinstall . } "$PY" -m pytest tests -q "$@"