vanilla_respondage/variants
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tammo ter Hark 9cb0eb0723 docs(variants): define the build process (new variant) and rebuild process (build_all.sh)
- New variants/build_all.sh: rebuilds ALL variants from their json definitions
  in one go (loops over <definitions-dir>/*.json, calls build.php per variant,
  aggregates failures, exits non-zero on any failure) and prints the owner
  follow-up actions (reset each variant theme in the LS admin, flushassets,
  Ctrl+F5). Generic tooling — no client names — so it ships in the public repo.
- README.md: the variants workflow is now split into a 'Build process' (defining
  a NEW variant: json + assets in the private definitions repo, build.php,
  deploy + theme reset + flushassets) and a 'Rebuild process' (build_all.sh after
  a mother config.xml change or a definitions change). The preview section now
  documents the standing rules: variant preview must differ from the mother's,
  preview.svg is committed + synced publicly, added only at first creation and
  never overwritten.
- AGENTS.md propagation rule now points at build_all.sh.

Verified: bash -n clean; PHP_BIN=/usr/bin/php bash variants/build_all.sh variants
-> '2 built, 0 failed', rc=0, both variants' preview.svg untouched (md5 before =
after); export_public.sh exit 0 with build_all.sh in the zip.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-30 12:29:27 +01:00
..
example/respondage_respondage feat(options): row 221 — align Questions-tab color columns + move slider handle color into the answers section 2026-11-30 10:01:49 +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 docs(variants): define the build process (new variant) and rebuild process (build_all.sh) 2026-11-30 12:29:27 +01:00
export_public.sh chore(files): sync files/preview.svg publicly (row 237) 2026-11-30 12:27:00 +01:00