-
Notifications
You must be signed in to change notification settings - Fork 6
/
rebar.config
49 lines (41 loc) · 1.22 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
%% -*- mode: erlang; -*-
{deps, [{riak_core, {pkg, riak_core_lite}},
riak_core_lite_util,
cowboy,
jsx,
hackney,
vectorclock
]}.
{plugins, [rebar3_format]}.
{format, [{files, ["apps/rclref/src/*.erl", "test/*.erl", "test/utils/*.erl"]}]}.
{relx, [{release, { rclref , "0.1.0"},
[rclref, sasl]},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{sys_config, "config/sys.config"},
{vm_args, "config/vm.args"},
{overlay, [
{mkdir, "etc"},
{mkdir, "bin"},
{mkdir, "data/ring"},
{mkdir, "log/sasl"}
]}
]}.
{profiles, [
{prod, [{relx, [{dev_mode, false}, {include_erts, true}]}]},
{dev1, [{relx, [
{sys_config, "config/sys_dev1.config"},
{vm_args, "config/vm_dev1.args"}
]}]},
{dev2, [{relx, [
{sys_config, "config/sys_dev2.config"},
{vm_args, "config/vm_dev2.args"}
]}]},
{dev3, [{relx, [
{sys_config, "config/sys_dev3.config"},
{vm_args, "config/vm_dev3.args"}
]}]}
]}.
{overrides, [
{del, [{erl_opts, [warnings_as_errors]}]}]}.