forked from tsloughter/chatterbox
-
Notifications
You must be signed in to change notification settings - Fork 1
/
rebar.config
58 lines (51 loc) · 1.24 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
%% -*- mode: erlang -*-
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
{erl_opts, [
warnings_as_errors,
debug_info
]}.
{deps,
[{hpack, {pkg, hpack_erl}}]}.
{cover_enabled, true}.
{ct_opts, [{verbose,true}]}.
{profiles,
[
{test, [
{erl_opts,
[
{i,["include"]},
nowarn_export_all
]},
{deps,
[{ranch, "2.0.0"}]}
]
},
{check, [
{deps,
[{ranch, "2.0.0"}]},
{dialyzer,
[{warnings,
[error_handling, unknown]},
{plt_extra_apps,
[inets, ranch]}
]},
{xref_checks,
[deprecated_function_calls, locals_not_used, undefined_function_calls]}
]
}]
}.
{relx, [
{release,{chatterbox,"0.0.1"},
[chatterbox]},
{sys_config, "./config/sys.config"},
%%{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{overlay,[
{template,"config/sys.config","sys.config"},
{copy,"config/localhost.crt","."},
{copy,"config/localhost.key","."}
]}
]}.