preview: build-dev-preview.sh, the dev demo build recipe (publishing is the shared script's) #79
1 changed files with 9 additions and 0 deletions
9
scripts/build-dev-preview.sh
Executable file
9
scripts/build-dev-preview.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/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
|
||||
Loading…
Reference in a new issue