-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
executable file
·45 lines (38 loc) · 1.63 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
{minimum_otp_vsn, "19.3"}. % see also .envrc
{plugins, [
{rebar3_gpb_plugin, "2.12.5"}
]}.
{deps, [
{lager, ".*", {git, "https://github.com/erlang-lager/lager.git", {tag, "3.6.8"}}},
{gpb, ".*", {git, "git://github.com/tomas-abrahamsson/gpb.git", {tag, "4.10.5"}}},
{ranch, ".*", {git, "git://github.com/ninenines/ranch", {tag, "1.7.1"}}},
{recon, ".*", {git, "git://github.com/ferd/recon.git", {tag, "2.5.0"}}},
{vsn_transform, ".*", {git, "git://github.com/electricimp/vsn_transform.git", {branch, "master"}}},
{poolboy, ".*", {git, "https://github.com/devinus/poolboy.git", {tag, "1.5.0"}}}
]}.
{relx, [{release, { erl_playground, "1.0.0" }, [
lager,
gpb,
vsn_transform,
{erl_playground, "1.0.0", '='},
{ranch, load},
sasl
]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{generate_start_script, true},
{extended_start_script, true},
{overlay, [
{mkdir, "log/sasl"},
{mkdir, "releases/{{release_version}}/config"},
{template, "config/sys.config", "releases/{{release_version}}/sys.config"},
{template, "config/sasl.config", "releases/{{release_version}}/config/sasl.config"},
{template, "config/lager.config", "releases/{{release_version}}/config/lager.config"}
]}
]}.
{profiles, [{prod, [{relx, [{dev_mode, false},
{include_erts, true}]}]
}]
}.