view mrjunejune/test/production_bundle_exclusion_test.sh @ 263:ee04e4e69fed

Add functional JRPG frame and tools Add full-screen background_2 apertures, functional frame chrome, card-driven details, dual-window tools, live conversion workflows, and bounded cleanup for generated downloads. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <mrjunejune@users.noreply.github.com>
date Thu, 06 Aug 2026 11:31:30 -0700
parents 667156fcd3e3
children 04fee26ecce0
line wrap: on
line source

#!/usr/bin/env bash
set -euo pipefail

bundle="$1"

if find "$bundle" -type f | grep -E '/jrpg/|pixel-mplus-12-regular'; then
  echo "Production bundle contains development-only JRPG files" >&2
  exit 1
fi

if grep -R -a -l -E '"/jrpg"|/jrpg/index\.html' "$bundle"; then
  echo "Production bundle contains a development-only JRPG route" >&2
  exit 1
fi