-
Notifications
You must be signed in to change notification settings - Fork 4
/
rebar.config
59 lines (50 loc) · 1.5 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
50
51
52
53
54
55
56
57
58
59
{erl_opts, [debug_info, {parse_transform, lager_transform}]}.
{deps, [{hackney, "1.15.1"},
{syslog, {git, "https://github.com/Vagabond/erlang-syslog.git", {branch, "master"}}},
{lager, "3.7.0"},
{lager_syslog, {git, "https://github.com/erlang-lager/lager_syslog.git"}}]}.
{relx, [{release, {epp_proxy, "git"},
[epp_proxy,
lager,
lager_syslog,
hackney,
sasl,
xmerl]},
{sys_config, "./config/sys.config"},
{dev_mode, false},
{vm_args, "./config/vm.args"},
{include_erts, true},
{extended_start_script, true},
{extended_start_script_extensions, [
{reload, "extensions/reload"}
]},
{overlay, [{copy, "scripts/extensions/reload", "bin/extensions/reload"}]}
]
}.
{provider_hooks, [
{pre, [{tar, {appup, tar}}]},
{post, [{compile, {appup, compile}},
{clean, {appup, clean}}]}
]}.
{overrides,
[{override, syslog, [
{plugins, [pc]},
{artifacts, ["priv/syslog_drv.so"]},
{provider_hooks, [
{post,
[
{compile, {pc, compile}},
{clean, {pc, clean}}
]
}]
}
]}
]}.
{profiles, [{prod, [{relx, [{dev_mode, false},
{include_erts, true}]}]
},
{test, [{deps, [proper]}]}]
}.
{plugins, [rebar3_auto,
{erl_tidy_prv_fmt, ".*", {git, "git://github.com/tsloughter/erl_tidy.git", {branch, "master"}}},
rebar3_appup_plugin]}.