-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrebar.config
35 lines (30 loc) · 1.15 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
{erl_opts, [
{parse_transform, lager_transform},
debug_info]}.
{deps, [
{lager, ".*", {git, "git://github.com/basho/lager.git", {tag, "3.2.4"}}},
{recon, ".*", {git, "git://github.com/ferd/recon.git", {tag, "2.3.5"}}},
{observer_cli, ".*", {git, "git://github.com/zhongwencool/observer_cli.git", {tag, "1.3.1"}}}
]}.
{relx, [{release, { erl_playground, "0.1.0" }, [
erl_playground,
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}]}]
}]
}.