forked from rosebudai/OpenRCT2-Web
feat: overlay rosebud/static/ onto build output in docker-build
After copying the WASM build output, overlay rosebud/static/ files so our mobile-specific index.html replaces the upstream version. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
c25d2bc57e
commit
1d6534f3b2
1 file changed
+6
@@ -69,6 +69,12 @@ echo "==> Copying build output..."
|
||||
mkdir -p "$REPO_DIR/build/www"
|
||||
docker cp "$CONTAINER_NAME":/src/build/www/. "$REPO_DIR/build/www/"
|
||||
|
||||
# --- Overlay rosebud static files ---
|
||||
if [ -d "$REPO_DIR/rosebud/static" ]; then
|
||||
echo "==> Overlaying rosebud/static/ onto build output..."
|
||||
cp -r "$REPO_DIR/rosebud/static/"* "$REPO_DIR/build/www/"
|
||||
fi
|
||||
|
||||
# --- Clean up ---
|
||||
echo "==> Cleaning up..."
|
||||
docker rm -f "$CONTAINER_NAME" >/dev/null
|
||||
|
||||
Reference in new issue
Block a user