-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrebar.config
57 lines (50 loc) · 1.35 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{erl_opts, [debug_info, nowarn_export_all]}.
{deps, [telemetry]}.
{shell, [{apps, [ecron]}]}.
{profiles, [{test, [{deps, [{proper, "1.4.0"}]}]}]}.
{project_plugins, [
rebar3_proper,
covertool,
rebar3_ex_doc,
erlfmt
]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_print_enabled, true}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["eunit.coverdata", "proper.coverdata", "ct.coverdata"]}]}.
{xref_warnings, true}.
{xref_extra_paths, []}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{alias, [
{check, [
xref,
ex_doc,
{eunit, "-c"},
{proper, "-c"},
{cover, "-v --min_coverage=80"},
%% FIXME: Dialyzer is only executed on the library by
%% default, not its testsuite. To run Dialyzer on the
%% test suites as well, the following command must be used:
%% rebar as test dialyzer
dialyzer
]}
]}.
{format, [
{files, ["src/*.erl", "include/*.hrl", "rebar.config"]},
%% The erlfmt formatter interface.
{formatter, erlfmt_formatter},
%% ...or no options at all.
{options, #{print_width => 120, ignore_pragma => true}}
]}.
{hex, [
{doc, #{provider => ex_doc}}
]}.
{edoc_opts, [{preprocess, true}]}.
{ex_doc, "docs.exs"}.