-
-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathrebar.config
More file actions
50 lines (43 loc) · 1.12 KB
/
Copy pathrebar.config
File metadata and controls
50 lines (43 loc) · 1.12 KB
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
% -*- mode: erlang -*-
{erl_opts, [debug_info]}.
{escript_name, mtp_ping}.
{escript_main_app, mtproto_proxy}.
{escript_emu_args, "%%! +sbtu +A1\n"}.
{deps, [{ranch, "2.2.0"},
{erlang_psq, {git, "https://github.com/seriyps/psq", {branch, "master"}}}
]}.
{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" },
[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"}]}
]}]
}.