12# CI for src.rest, the README's rebuild loop: scripts/build.sh (the perspective3# core from source), node scripts/test-core.mjs and scripts/package.py.4set -eu5# Emscripten builds its system libraries from source on first use; keep them6# in a cache outside the worktree so runs reuse them.7EM_CACHE=${XDG_CACHE_HOME:-$HOME/.cache}/gudpics/emscripten8export EM_CACHE9mkdir -p "$EM_CACHE"10sh scripts/build.sh11node scripts/test-core.mjs12python3 scripts/package.py