Lean build: always ship core (manifest-less) frontends

This commit is contained in:
2026-07-19 12:10:45 -04:00
parent 384b8f7668
commit da28ee9f33
2 changed files with 20 additions and 4 deletions

View File

@@ -82,6 +82,11 @@ jobs:
echo "FAIL: chosen-plugin code '$code' missing from the lean bundle"
exit 1; }
done
# Core frontends (no manifest, e.g. applications) must ship in EVERY
# build regardless of SITE_PLUGINS, or a lean site loses a core page.
grep -rqoh "ApplicationsList" "$assets"/*.js || {
echo "FAIL: core page 'ApplicationsList' missing from the lean bundle"
exit 1; }
test -d /tmp/leansite/plugins/machines
test ! -d /tmp/leansite/plugins/printedparts
echo "lean build verified: only chosen plugins present"