forked from mesosphere-backup/minuteman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
87 lines (75 loc) · 2.86 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
{dialyzer, [{warnings, [no_behaviours, race_conditions, error_handling]}]}.
{xref_checks, [undefined_function_calls, undefined_functions, locals_not_used, deprecated_function_calls, deprecated_functions]}.
{erl_opts, [warnings_as_errors, debug_info, {parse_transform, lager_transform}]}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.
{cover_opts, [verbose]}.
{cover_enabled, true}.
%% Whether to print coverage report to console. Default is `false'
{cover_print_enabled, true}.
%% Whether to export coverage report to file. Default is `false'
{cover_export_enabled, true}.
{deps, [
{eper, ".*", {git, "https://github.com/massemanet/eper.git", {tag, "0.97.1"}}},
{gen_netlink, ".*", {git, "https://github.com/mesosphere/gen_netlink.git", {branch, "master"}}},
{ip_vs_conn, ".*", {git, "https://github.com/mesosphere/ip_vs_conn", {branch, "master"}}},
{tcp_metrics, ".*", {git, "https://github.com/mesosphere/tcp_metrics", {branch, "master"}}},
{lager, ".*", {git, "git://github.com/basho/lager", {tag, "3.2.1"}}},
{jsx, ".*", {git, "https://github.com/talentdeficit/jsx.git", master}},
{meck, ".*", {git, "https://github.com/eproxus/meck", {tag, "0.8.4"}}},
{lashup, ".*", {git, "git://github.com/dcos/lashup.git", master}},
{eflame, ".*", {git, "https://github.com/slfritchie/eflame.git", master}},
{telemetry, ".*", {git, "git://github.com/dcos/telemetry-net.git", master}},
{dns, {git, "git://github.com/aetrion/dns_erlang.git", master}},
{mesos_state, {git, "git://github.com/dcos/mesos_state", master}}
]}.
{sub_dirs, ["rel"]}.
{plugins, [
rebar3_hex,
{rebar_covertool, ".*", {git, "https://github.com/idubrov/covertool.git", master}}
]}.
{overrides, [
{override, dns,
[
{plugins,[
{provider_asn1, {git, "https://github.com/knusbaum/provider_asn1.git", {tag, "0.2.0"}}}
]},
{provider_hooks, [
{pre, [
{compile, {asn, compile}}
]},
{post, [
{clean, {asn, clean}}
]}
]}
]
}
]}.
{profiles, [
{test,
[
{deps, [
{proper, ".*", {git, "https://github.com/manopapad/proper.git", master}}
]}
]},
{prod,
[
{relx, [
{dev_mode, false},
{include_erts, true}
]}
]}
]}.
{relx,[
{dev_mode, true},
%% Mnesia isn't automatically added, because we don't put it in the .app.src
%% We don't do that, because we don't want it started until after app initialization
{release, {minuteman, "0.0.1"}, [minuteman, dns, eper, runtime_tools, eflame, debugger, observer, {mnesia, load}, {gen_netlink, load}]},
{extended_start_script, true},
{vm_args, "config/vm.args"},
{sys_config, "./config/sys.config"},
{overlay, [
{mkdir, "log/sasl"},
{mkdir, "data/"},
{copy, "bin/minuteman-env", "bin"}
]}
]}.