-
-
Notifications
You must be signed in to change notification settings - Fork 99
/
rebar.config
51 lines (45 loc) · 1.11 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
% -*- mode: erlang -*-
{erl_opts, [debug_info,
{d, 'HUT_LAGER'},
{parse_transform, lager_transform}]}.
{deps, [{ranch, "1.7.0"},
{hut, "1.3.0"},
{lager, "3.9.1"},
{erlang_psq, "1.0.0"}
]}.
{project_plugins, [rebar3_proper,
rebar3_bench]
}.
{xref_checks,
[undefined_function_calls,
undefined_functions,
locals_not_used,
%% exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{relx, [{release, { mtp_proxy, "0.1.0" },
[lager,
ranch,
mtproto_proxy,
sasl]},
%% {sys_config, "./config/sys.config"},
%% {vm_args, "./config/vm.args"},
{include_erts, false},
{extended_start_script, true}]
}.
{profiles,
[{prod,
[{relx, [{dev_mode, false},
{sys_config, "./config/prod-sys.config"},
{vm_args, "./config/prod-vm.args"},
{include_erts, true}]}]
},
{test,
[{deps,
[{proper, "1.3.0"}]},
{ct_opts, [{sys_config, ["./test/test-sys.config"]}]},
{relx,
[{sys_config, "./test/test-sys.config"}]}
]}]
}.