forked from glific/glific
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.check.exs
32 lines (27 loc) · 1.29 KB
/
.check.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[
## all available options with default values (see `mix check` docs for description)
# parallel: true,
# skipped: true,
## list of tools (see `mix check` docs for defaults)
tools: [
## curated tools may be disabled (e.g. the check for compilation warnings)
# {:sobelow, false},
# {:compiler, false}
{:npm_test, false},
{:formatter, false},
## ...or adjusted (e.g. use one-line formatter for more compact credo output)
{:credo, "mix credo --format oneline --strict"},
## ...or reordered (e.g. to see output from ex_unit before others)
## {:ex_unit, order: -1},
## custom new tools may be added (mix tasks or arbitrary commands)
# {:my_mix_task, command: "mix release", env: %{"MIX_ENV" => "prod"}},
# {:my_arbitrary_tool, command: "npm test", cd: "assets"},
# {:my_arbitrary_script, command: ["my_script", "argument with spaces"], cd: "scripts"}
{:mix_format, "mix format"},
{:mix_doctor, command: "mix doctor", env: %{"MIX_ENV" => "test"}},
{:dialyzer, "mix dialyzer --no-check --quiet", detect: [{:package, :dialyxir}]},
{:sobelow, "mix sobelow --skip --exit",
umbrella: [recursive: true], detect: [{:package, :sobelow}]},
{:mix_coveralls, "mix coveralls", [{:run_after, [:ex_unit]}, {:env, %{"MIX_ENV" => "test"}}]}
]
]