-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebar.config
42 lines (35 loc) · 1015 Bytes
/
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
{erl_opts, [debug_info, fail_on_warning, {parse_transform, lager_transform}]}.
{deps, [
getopt,
sync,
lager,
{cowboy, {github, "ninenines/cowboy", {tag, "2.0.0-pre.9"}}}
]}.
{escript_main_app, erlang_package}.
{escript_name, cli}.
{escript_incl_apps, [getopt]}.
{escript_emu_args, "%%! +sbtu +A0\n"}.
{artifacts, ["bin/cli"]}.
{provider_hooks, [
{pre, [{compile, clean}]},
{post, [{compile, escriptize}]}]}.
{relx, [{release, { erlang_package, "0.1.0" },
[erlang_package,
sasl]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}]
}.
{profiles, [
{prod,
[{relx, [{dev_mode, false},
{include_erts, true}]}]
},
{test, [
{erl_opts, [debug_info]}
]
}
]
}.