ExCheck

licensebuild statusHex version

One task to efficiently run all code analysis & testing tools in an Elixir project.

There are following benefits from using this task:

Getting started

Add ex_check to your list of dependencies in mix.exs:

def deps do
[
{:ex_check, ">= 0.0.0", only: :dev, runtime: false}
]
end

Optionally add curated tools to your list of dependencies in mix.exs:

def deps do
[
{:credo, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, ">= 0.0.0", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:sobelow, ">= 0.0.0", only: :dev, runtime: false}
]
end

Optionally enforce output with colors from Elixir checks in config/config.exs:

config :elixir, :ansi_enabled, true

Run the check:

mix check

Optionally generate config to adjust the check:

mix check.gen.config

Documentation

Learn more about the task workflow, included tools, configuration and options:

mix help check

Read docs for mix check on HexDocs: docs