-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrebar.config
72 lines (64 loc) · 1.63 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{rebar3, [
"rebar.lock"
]
}.
{erl_opts, [
debug_info,
warnings_as_errors,
report,
verbose,
{parse_transform, lager_transform},
{config, "src/ertorrent.config"}
]
}.
{deps, [
{cowboy, "2.6.3"},
{gun, "1.3.0"},
{jiffy, "0.15.2"},
{lager, "3.6.9"}
]
}.
{plugins, [rebar3_run]}.
{dialyzer, [
{warnings, [
no_return,
no_unused,
no_improper_lists,
no_fun_app,
no_match,
no_opaque,
no_fail_call,
no_contracts,
no_behaviours,
no_undefined_callbacks,
%unmatched_returns,
error_handling,
race_conditions,
overspecs,
underspecs,
specdiffs
]},
{get_warnings, true},
{plt_apps, top_level_deps}, % default: top_level_deps
{plt_prefix, "ertorrent"}
]
}.
{relx, [
{release,
{ertorrent, "0.1.0"},
[ertorrent, syntax_tools]},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.
{profiles, [
{test, [
{erl_opts, [debug_info]},
{cover_enabled, true},
{cover_opts, [verbose]}
]},
{prod,
[{relx, [{dev_mode, false},
{include_erts, true}]}]
}
]}.