-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
40 lines (34 loc) · 1 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
{minimum_otp_vsn, "24.0"}.
{deps, [
{cowboy, {git, "https://github.com/ninenines/cowboy", {tag, "2.9.0"}}},
{flatlog, {git, "https://github.com/ferd/flatlog", {tag, "v0.1.1"}}}
]}.
{shell, [
{apps, [seppen]},
{config, "sys.config"}
]}.
{relx, [
{release, {seppen, "0.1.0"}, [seppen]},
%% [{dev_mode, true}, {include_src, true}, {debug_info, keep}, {include_erts, false}]
{mode, dev},
{vm_args_src, "config/vm.args.src"},
{sys_config, "config/dev/sys.config"},
{overlay, [
{copy, "config/dev/.hosts.erlang", ".hosts.erlang"}
]},
{extended_start_script, true}
]}.
{profiles, [
{prod, [
%% [{include_src, false}, {debug_info, strip}, {include_erts, true}, {dev_mode, false}]
{relx, [
{mode, prod},
{sys_config, "config/prod/sys.config"},
{overlay, []}
]}
]}
]}.
{plugins, [{erlfmt, "~> 0.14.1"}]}.
{erlfmt, [
{files, ["rebar.config", "config/*/sys.config", "{src,include,test}/*.{hrl,erl}"]}
]}.