-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathrebar.config
41 lines (28 loc) · 1.12 KB
/
rebar.config
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
33
34
35
36
37
38
39
40
41
{erl_opts, [warn_unused_import, warn_export_vars, verbose, report, debug_info]}.
{minimum_otp_vsn, "25"}.
{deps, [{katana_code, "~> 2.2.0"}]}.
{ex_doc,
[{source_url, <<"https://github.com/AdRoll/rebar3_format">>},
{extras, [<<"README.md">>, <<"LICENSE">>]},
{main, <<"readme">>}]}.
{hex, [{doc, #{provider => ex_doc}}]}.
{project_plugins,
[{rebar3_hex, "~> 7.0.8"},
{rebar3_hank, "~> 1.4.1"},
{rebar3_lint, "~> 3.2.6"},
{rebar3_sheldon, "~> 0.4.3"},
{rebar3_ex_doc, "~> 0.2.24"}]}.
{dialyzer,
[{warnings, [no_unknown, no_return, unmatched_returns, error_handling, underspecs]}]}.
{edoc_opts, [{todo, true}, {overview, "priv/overview.edoc"}]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{spellcheck,
[{ignore_regex, "([\\=+|(<>#{}/*]+|^\\-|^_|\\d[.]\\d|[a-z][.][a-z]|[?][A-Z])"},
{files, ["src/**/*.?rl", "src/*.app.src", "test/*.?rl"]},
{additional_dictionaries, ["nextroll.dict", "test.dict"]}]}.
{alias,
[{test, [spellcheck, lint, hank, dialyzer, {ct, "--verbose"}, cover, edoc]},
{format, [compile]}]}.
{post_hooks, [{compile, "escript priv/scripts/format"}]}.
{hank, [{ignore, ["test_app/**/*"]}]}.