#!/bin/sh # Bake the whole campaign into one wasm and stage it in MRPGI/web/dist/. # The engine boots into its title screen with all cases on the shelf. # # ./tools/webbuild.sh # # Deploy is a separate, deliberate step — see README "Web build". set -e ENGINE="${MRPGI:-$HOME/Documents/MRPGI}" cd "$(dirname "$0")/.." "$ENGINE/web/build.sh" "$(pwd)/cases" echo "preview locally: cd $ENGINE/web/dist && python3 -m http.server 8899"