-
Notifications
You must be signed in to change notification settings - Fork 6
/
rebar.config
70 lines (57 loc) · 2.12 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
68
69
70
%% -*- erlang -*-
{erl_opts,
[debug_info,
warn_untyped_records,
warnings_as_errors,
nowarn_export_all,
{parse_transform, lager_transform}]}.
{xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls,
deprecated_functions]}.
%% ignore these warnings because lz4 and snappyer are optional dependencies
{xref_ignores, [{lz4, unpack, 1},
{snappyer, decompress, 1}]}.
{deps, [erlware_commons,
acceptor_pool,
{shackle, {git, "https://github.com/lpgauth/shackle.git", {branch, "master"}}},
{partisan, {git, "https://github.com/lasp-lang/partisan.git", {branch, "master"}}},
lager,
recon,
gproc,
backoff,
oc_google_reporter,
{opencensus, {git, "https://github.com/census-instrumentation/opencensus-erlang.git", {branch, "master"}}},
%% metrics and health check deps
elli,
prometheus,
elli_prometheus]}.
{relx, [{release, {vonnegut, "semver"},
[vonnegut]},
{dev_mode, true},
{include_erts, false},
{sys_config, "config/sys.config"},
{vm_args, "config/vm.args"},
{extended_start_script, true},
{overlay, [{copy, "config/shared.config", "config/shared.config"}]}]}.
{project_plugins, [{rebar3_proper, {git, "https://github.com/ferd/rebar3_proper.git", {branch, "master"}}},
covertool]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["ct.coverdata"]}]}.
{profiles,
[{test, [
{deps, [{brod, "3.0.0"}, meck, {proper, "1.2.0"}]}
]},
{prod, [{relx, [{sys_config, "config/prod_sys.config"},
{vm_args, "config/prod_vm.args"},
{dev_mode, false},
{include_erts, true},
{include_src, false},
{debug_info, strip}
]}]}
]}.
{proper_opts, [{sys_config, "config/proper.config"}]}.
{ct_opts, [{sys_config, "config/test.config"},
{ct_hooks, [cth_surefire]}]}.
{dist_node, [{name, 'testrunner@127.0.0.1'}]}.