mix cli_deps.check (CliDeps v0.1.1)

Copy Markdown View Source

Checks the external command-line tools a module declares.

mix cli_deps.check MyApp.Deps

Prints one line per tool and exits non-zero when any tool is missing or too old, which is what makes it usable as a CI step or a container-build gate — the point being to fail at build time rather than in a background job three days later.

The module can also be configured, so the argument can be omitted:

config :cli_deps, module: MyApp.Deps

Options

  • --quiet — print only failures.