-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
50 lines (40 loc) · 1.1 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
{deps, [
{hackney, "~> 1.16.0"},
{jiffy, "~> 1.0.5"},
{jwt, "~> 0.1.10"}
]}.
{plugins, [
rebar3_hex
]
}.
%% by default when using the prod profile, include the erlang runtime system
%% (erts) when packaging. This means you don't need erlang installed as a
%% separate package
{profiles, [
{prod, [
{relx, [ { dev_mode, false }, { include_erts, true } ] }
]},
{test, [
{erl_opts, [nowarn_export_all]},
{deps, [ {meck, "0.8.13"}
]}
]}
]}.
{erl_opts, [
warnings_as_errors,
warn_export_all
]}.
{xref_checks,[
%% enable most checks, but avoid 'unused calls' which is often
%% very verbose
undefined_function_calls, undefined_functions, locals_not_used,
deprecated_function_calls, deprecated_functions, deprecated_functions
]}.
{relx, [{release, {egoth, {git, long}},
[egoth]},
% {sys_config, "./config/dev_sys.config"},
% {vm_args, "./config/dev_vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{overlay, [{copy, "apps/service_discovery_postgres/priv/migrations/*", "sql/"}]}]}.