vanilla_respondage/variants
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tammo ter Hark 92cc6443ac feat(variants): build_all.sh modes — build only new variants, --rebuild only existing ones
- Default (build) mode picks up only *.json files for which NO variant folder
  (../<name>/) exists yet, so an existing variant is never clobbered by a
  build run (e.g. by a just-copied, not-yet-adjusted json). At the end it lists
  the jsons that were NOT picked up and advises that they possibly need to be
  re-built via 'build_all.sh --rebuild'.
- '--rebuild' mode picks up only *.json files whose variant folder already
  exists, and advises about the jsons without a variant yet (build them with
  the default mode).
- Both modes print a 'N built, M failed, K not picked up' summary, exit non-zero
  on any build failure, and keep the owner follow-up actions (reset themes in
  the LS admin, flushassets, Ctrl+F5).
- README build/rebuild sections and AGENTS.md updated to the two modes.

Verified in a /tmp sandbox: build mode built only the json without a variant
folder and listed the existing ones with the --rebuild advice; --rebuild built
only existing variants and listed the new json with the build advice; on the
real definitions dir the default mode built 0 and skipped all 3 (variants
exist) without touching ../respondage_respondage/config.xml (md5 unchanged).
export_public.sh exit 0.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-30 12:38:05 +01:00
..
example/respondage_respondage chore(variants): row 239 — variant titles: Defensie/Erasmus/Respondage LimeSurvey theme 2026-11-30 12:30:50 +01:00
build.php chore(variants): standing rule row 235 — variant preview must differ from mother's; preview.svg not gitignored, added once at first creation 2026-11-30 12:08:06 +01:00
build_all.sh feat(variants): build_all.sh modes — build only new variants, --rebuild only existing ones 2026-11-30 12:38:05 +01:00
export_public.sh chore(files): sync files/preview.svg publicly (row 237) 2026-11-30 12:27:00 +01:00