#!/usr/bin/env bash # Release builders use this path; Dockerfile.web and Dockerfile.backend are demo only. set -euo pipefail repo_root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd) export VITE_DEMO=0 unset VITE_DEMO_CONTENT export DOCKER_BUILD=false export ARCHY_SOURCE_REVISION=$(git -C "$repo_root" rev-parse HEAD) git -C "$repo_root" diff --quiet git -C "$repo_root" diff --cached --quiet ( cd "$repo_root/neode-ui" npm run build ) python3 "$repo_root/scripts/check_production_dashboard_boundary.py" \ --repo-root "$repo_root" \ --dist "$repo_root/web/dist/neode-ui" \ --builder native-vite-production \ --source-commit "$ARCHY_SOURCE_REVISION"