Ratatoskr/scripts/build-dev-preview.sh
Void d16842a70e
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 5m0s
preview: drop the Ratatoskr publisher; keep only the build recipe the shared publisher takes (build-dev-preview.sh)
Publishing belongs to gamecult-ops scripts/publish-mind-preview.sh (one fixed slug per project).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:19:04 +00:00

9 lines
570 B
Shell
Executable file

#!/usr/bin/env bash
# Build this checkout as the offline demo for the standing dev preview: base /void/rat-dev/, the pretend
# homeserver, scene tier $TIER (default full). Output: ./dist, ready for the shared publisher
# (gamecult-ops scripts/publish-mind-preview.sh dist rat-dev), which owns publishing. Publishes nothing.
set -euo pipefail
cd "$(dirname "$0")/.."
node scripts/sync-poses.mjs >/dev/null
VITE_PREVIEW_DEMO=1 CINNY_BASE=/void/rat-dev/ NODE_OPTIONS=--max_old_space_size=4096 nice -n 10 npx vite build
node scripts/preview-config.js "${TIER:-full}" --demo