-
Notifications
You must be signed in to change notification settings - Fork 1
/
rebar.config
48 lines (43 loc) · 1022 Bytes
/
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
{erl_opts, [
debug_info,
bin_opt_info,
{i, "include"}
]}.
{project_plugins, [
{erlfmt, {git, "[email protected]:WhatsApp/erlfmt.git", {branch, "main"}}}
]}.
{erlfmt, [write]}.
{alias, [
{check, [
{fmt, "--check"},
xref,
dialyzer
]},
{test_ci, [
{ct, "--spec test/conf/test-ci.spec --cover --readable true"},
{cover, "-m 100"}
]},
{test, [
{ct, "--spec test/conf/test.spec --cover --readable true"},
{cover, "-m 100"}
]}
]}.
{profiles, [
{test, [
{deps, [
{nct_util, {git, "[email protected]:nomasystems/nct_util.git", {branch, "main"}}}
]}
]}
]}.
{cover_opts, [verbose]}.
{cover_enabled, true}.
% Ignore xref warnings on public external exports
{xref_ignores, [
{nhooks, do, 3},
{nhooks, register_task, 3},
{nhooks, register_task, 4},
{nhooks, deregister_task, 2},
{nhooks, deregister_app_tasks, 1},
{nhooks, consult_tasks, 2},
{nhooks, consult_app_tasks, 1}
]}.