mix snodo.example (snodo v0.1.0)

Copy Markdown View Source

Runs one repository example in deterministic check mode in a fresh VM.

mix snodo.example ../../examples/11_tasks_sqlite.exs

The child uses the active project's directory, resolved build path, and Mix environment. This also preserves environments selected by preferred_envs, which do not necessarily appear in the inherited MIX_ENV variable.

The script receives exactly --check; compiler warnings and a non-zero child exit fail the task. Optional packages can use this task from their aliases without loading the example's application processes into the quality runner.