-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrebar.config
71 lines (62 loc) · 2.16 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
60
61
62
63
64
65
66
67
68
69
70
71
{erl_opts, [{parse_transform, lager_transform}, debug_info]}.
{deps,
[
erlware_commons,
esel, jsone, jsxd,
%% Fixing a ranch SSL bug
{ranch,".*", {git, "https://github.com/project-fifo/ranch.git", {branch, "1.2.1p"}}},
{ranch,".*", {git, "https://github.com/project-fifo/ranch.git", {branch, "1.2.1p"}}},
fifo_lager,
{bugsnag, {pkg, bugsnag_erl}},
{cowboy, ".*", {git, "https://github.com/ninenines/cowboy.git", {ref, "dbb6360"}}},
qdate,
libsnarl,
base16,
libsniffle,
libchunter,
fifo_utils,
eper,
recon
]}.
{project_plugins, [rebar3_cuttlefish]}.
%% Cuttlefish config
{cuttlefish,
[{file_name, "kennel.conf.example"},
{schema_discovery, false}]}.
{profiles,
[
{prod, [{relx, [{dev_mode, false},
{include_erts, true}]}]},
{lint, [{plugins, [{rebar3_lint, {git, "https://github.com/project-fifo/rebar3_lint.git", {tag, "0.1.4"}}}]}]},
{dev, [{plugins, [rebar3_auto]}]}
]
}.
{relx,
[{release, {kennel, "0.9.2"},
[
sasl,
kennel,
%% Runtime tools
{recon, load},
{eper, load}
]},
{dev_mode, true},
{include_erts, true},
{generate_start_script, false},
{overlay_vars, "rel/vars.config"},
{overlay,
[{mkdir, "etc"},
{mkdir, "share"},
{copy, "rel/files/erl", "erts-\{\{erts_vsn\}\}/bin/erl"},
{copy, "rel/files/nodetool", "erts-\{\{erts_vsn\}\}/bin/nodetool"},
{template, "rel/files/kennel", "bin/kennel"},
{template, "share/kennel.xml", "share/kennel.xml"},
{template, "schema/kennel.schema", "share/schema/00-kennel.schema"},
{template, "_build/prod/lib/esel/priv/esel.schema", "share/schema/01-esel.schema"},
{template, "_build/prod/lib/bugsnag/priv/bugsnag.schema", "share/schema/02-bugsnag.schema"},
{template, "_build/prod/lib/fifo_utils/priv/erlang_vm.schema", "share/schema/03-vm.schema"},
{template, "_build/prod/lib/fifo_lager/priv/lager.schema", "share/schema/04-lager.schema"},
{template, "_build/prod/lib/libsnarl/priv/libsnarl.schema", "share/schema/05-libsnarl.schema"},
{template, "_build/prod/lib/mdns_client_lib/priv/mdns_client.schema", "share/schema/06-mdns_client.schema"}
]}]}.
{dialyzer, [{warnings, [underspecs]}]}.