Runs all CI checks locally. Exits with a non-zero status on first failure.
Usage
mix preflightWhat it runs
- Renderer rebuild (when
PLUSHIE_RUST_SOURCE_PATHis set) mix format --check-formattedmix compile --warnings-as-errorsmix credo --strictmix testmix test(headless backend)mix docs --warnings-as-errorsmix dialyzer
Renderer freshness
Tests exercise the real renderer binary, so a stale binary hides real
bugs and surfaces phantom ones. When PLUSHIE_RUST_SOURCE_PATH is set
to a plushie-rust checkout, the first preflight step rebuilds
plushie-renderer from source via cargo build --release -p plushie-renderer
and exports PLUSHIE_BINARY_PATH so the test runs use the fresh binary.
Without PLUSHIE_RUST_SOURCE_PATH the existing binary resolution
(env -> config -> custom build -> downloaded) is used unchanged.