#!/usr/bin/env bash # Copy the four farm GLBs into the served asset directory so the lane-i demo # (and any manifest that names them) can actually fetch them. # # They are NOT committed there: the four total ~43 MB of raw farm output with # embedded textures, and deploy.sh rsyncs + docker-cps the whole dist/ on every # deploy. Compress them offline before shipping a pack to production. set -euo pipefail root="$(cd "$(dirname "$0")/.." && pwd)" mkdir -p "$root/public/assets/meshes" cp "$root"/assets/meshes/*.glb "$root/public/assets/meshes/" du -sh "$root/public/assets/meshes" echo "staged -> public/assets/meshes/ (gitignored; served at \${BASE_URL}assets/meshes/)"