One-stop validation for a Caravela-using project.
Runs, in order:
mix compile— everything must compile.- Discover every module that uses
Caravela.Domain. - For each domain, render every applicable generator in memory (no files written) and confirm it doesn't raise.
- Optionally run
mix test(--tests) and/ormix dialyzer(--dialyzer).
Exits 0 on green, non-zero with a per-domain / per-generator summary otherwise. Intended as the single oracle for LLM iteration loops and CI — one command, one signal.
Flags
--tests— also runmix test.--dialyzer— also runmix dialyzer(requires:dialyxir).--only DOMAIN— check a single domain module instead of all.--quiet— suppress per-step output, print final summary only.