-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
41 lines (38 loc) · 1.02 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
{deps, [
{brod, "4.3.0"},
{docopt, {git, "https://github.com/zmstone/docopt-erl.git", {tag, "0.1.3"}}},
{snappyer, "1.2.9"}
]}.
{project_plugins, [
{rebar3_lint, "~> 3.2.5"},
{erlfmt, "~> 1.3.0"}
]}.
{erl_opts, [warnings_as_errors, {d, build_brod_cli}]}.
{escript_name, brodcli}.
{escript_incl_apps, [docopt, brod]}.
{relx, [
%% release the interactive eshell as 'brod-i'
%% so one can play with brod APIs in Erlang repl
{release, {brod, "i"}, [
brodcli,
brod,
docopt,
%% need this to run escript
compiler
]},
{include_erts, true},
{overlay, [
%% release the main script as 'brod'
{copy, "bin/brod", "bin/"},
{copy, "bin/brod.escript", "bin/"},
{copy, "{{lib_dirs}}/crc32cer/priv/crc32cer*.so", "bin/"},
{copy, "{{lib_dirs}}/snappyer/priv/snappyer.so", "bin/"}
]}
]}.
{dialyzer, [
{warnings, [unknown]},
{plt_extra_apps, [brod, kafka_protocol, docopt]}
]}.
{xref_checks, [
{exports_not_used, false}
]}.