-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathrebar.config
125 lines (112 loc) · 3.72 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
%-*-Erlang-*-
{erl_opts, [debug_info, warnings_as_errors]}.
{deps, [
{parse_trans, {git, "/~https://github.com/uwiger/parse_trans.git", {branch, "master"}}},
{setup, "2.1.0"},
{plists, {git, "/~https://github.com/silviucpp/plists", {ref, "be6c911"}}},
{ra, "1.1.8"},
{jobs, "0.9.0"},
{jsx, "3.0.0"},
{fast_yaml, "1.0.31"},
{jesse, "1.5.6"},
{regine, "1.1.0"},
{cowboy, "2.9.0"},
{prometheus, "4.8.1"},
{prometheus_cowboy, "0.1.8"},
{prometheus_diameter_collector, "1.2.1"},
{riak_core, "0.10.0", {pkg, riak_core_lite}},
{riak_core_lite_util, "0.1.2"},
{xxhash, {git, "/~https://github.com/pierreis/erlang-xxhash.git", {branch, "master"}}},
{erlando, {git, "/~https://github.com/travelping/erlando.git", {tag, "1.0.3"}}},
{netdata, {git, "/~https://github.com/RoadRunnr/erl_netdata.git", {ref, "cbd6eaf"}}},
{gtplib, "3.0.0"},
{pfcplib, "2.1.1"},
{ergw_aaa, {git, "/~https://github.com/travelping/ergw_aaa.git", {tag, "4.1.5"}}},
{zoneinfo, {git, "/~https://github.com/RoadRunnr/zoneinfo.git", {branch, "master"}}}
]}.
{minimum_otp_vsn, "23.0"}.
{profiles, [
{test, [
{erl_opts, [nowarn_export_all]},
{deps, [{gun, "2.0.0-rc.2"},
{parse_trans, "3.3.0"},
{meck, "0.8.13"},
{proper, "1.3.0"}
]},
{plugins, [{coveralls, {git, "/~https://github.com/RoadRunnr/coveralls-erl.git", {branch, "feature/git-info"}}}]}
]},
{simulator, [{extra_src_dirs, ["simulator"]},
{erl_opts, [{d, 'SIMULATOR'}]}
]},
{prod,
[{relx, [{dev_mode, false},
{include_erts, true},
{include_src, false}
]},
{deps, [
{recon, "2.5.1"},
{observer_cli, "1.5.4"}
]}
]},
{native,
[{overrides,
[{override, gen_socket, [{erl_opts,[debug_info,
{native, false}]}]},
{override, ergw_core, [{erl_opts,[debug_info,
native, {hipe, o3}]}]},
{override, eradius, [{erl_opts,[debug_info,
native, {hipe, o3}]}]},
{override, regine, [{erl_opts,[debug_info,
native, {hipe, o3}]}]},
{override, ergw_aaa, [{erl_opts,[debug_info,
native, {hipe, o3}]}]},
{override, ppplib, [{erl_opts,[debug_info,
native, {hipe, o3}]}]},
{override, gtplib, [{erl_opts,[debug_info,
native, {hipe, o3}]}]},
{override, jsx, [{erl_opts,[debug_info,
native, {hipe, o3},
{d, maps_always}, {d, maps_support}]}]},
{override, [{erl_opts, [debug_info,
{platform_define, "^[0-9]+", namespaced_types},
{platform_define, "^[0-9]+", namespaced_dicts},
{platform_define, "^((1[8|9])|2)", rand_module},
native, {hipe, o3}]}]}]}
]}
]}.
{relx, [{release, { 'ergw-c-node', semver },
[ergw, ergw_core,
sasl,
runtime_tools,
recon,
observer_cli]},
{exclude_apps, [wx]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.
%% xref checks to run
{xref_checks, [locals_not_used, deprecated_function_calls,
exports_not_used, deprecated_functions]}.
{xref_queries,
[{"(XC - UC) || (XU - X - B)", []}]}.
{ct_opts, [
% Specify that Common Test should name a new private directory for each
% test case, but leave it up to the tests to actually create the directories.
{create_priv_dir, manual_per_tc}
]}.
%% == Cover ==
%% Whether to enable coverage reporting. Default is `false'
{cover_enabled, true}.
%% Whether to export coverage report to file. Default is `false'
{cover_export_enabled, true}.
%% == covervalls.io ==
{do_coveralls_after_ct, false}.
{do_coveralls_after_eunit, false}.
{coveralls_coverdata, "_build/test/cover/ct.coverdata"}.
{coveralls_service_name, "github"}.
{coveralls_parallel, true}.
%% development setting
{shell, [{config, "priv/dev.config"}]}.