-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
67 lines (58 loc) · 1.64 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
{erl_opts, [debug_info, {parse_transform, lager_transform}]}.
{deps, [
{lager, {git, "git://github.com/erlang-lager/lager", {tag, "3.8.0"}}},
{jsx, {git, "git://github.com/talentdeficit/jsx", {tag, "v2.10.0"}}},
{pgsql, {git, "git://github.com/semiocast/pgsql", {ref, "c7d98673459052b2c48526f16dab11ab34c23891"}}},
{prometheus, "4.6.0"},
{prometheus_httpd, "2.1.11"},
{elli, "3.0.0"},
{jiffy, "1.0.5"}
]}.
{profiles, [
{test, [
{deps, [
{meck, {git, "git://github.com/eproxus/meck.git"}},
{hackney, {git, "git://github.com/benoitc/hackney.git", {branch, "master"}}}
]},
{cover_enabled, true}
]},
{prod, [
{relx, [
{dev_mode, false},
{include_erts, false}
]}
]}
]}.
{shell, [
{config, "config/sys.config"},
{apps, [inets,lager,pgsql,prometheus,prometheus_httpd,elli,jiffy,banks_fetch]}
]}.
{dialyzer, [
{plt_apps, all_deps},
{plt_extra_apps, [inets,lager,jsx,pgsql,prometheus,prometheus_httpd,elli,jiffy]},
{warnings, [
%% Warn about undefined types and unknown functions
unknown, unmatched_returns, error_handling, race_conditions
]}
]}.
{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
]}.
{alias, [
{check, [
xref,
dialyzer,
{ct, "-c"},
{cover, "-v --min_coverage=100"}]}
]}.
{relx, [
{release, {banks_fetch, "0.1.0"},
[banks_fetch, sasl]},
{sys_config, "config/sys.config"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.