forked from kafka4beam/brod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
62 lines (62 loc) · 2.41 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
{deps, [ {kafka_protocol, "4.1.5"}
, {snappyer, "1.2.9"}
]}.
{project_plugins, [{coveralls, "~> 2.2.0"}, {rebar3_lint, "~> 1.0.2"}]}.
{edoc_opts, [{preprocess, true}, {macros, [{build_brod_cli, true}]}]}.
{erl_opts, [warnings_as_errors, warn_unused_vars,warn_shadow_vars,warn_obsolete_guard,debug_info]}.
{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
deprecated_functions]}.
{profiles, [
{brod_cli, [
{deps, [ {docopt, {git, "https://github.com/zmstone/docopt-erl.git", {branch, "0.1.3"}}}
, {jsone, "1.7.0"}
]},
{erl_opts, [warnings_as_errors, {d, build_brod_cli}]},
{escript_name, brod_cli},
{relx, [{release, {brod, "i"}, % release the interactive shell as brod-i
[brod, jsone, docopt]},
{include_erts, true},
{overlay, [{copy, "scripts/brod", "bin/"},
{copy, "{{lib_dirs}}/crc32cer/priv/crc32cer*.so", "bin/"},
{copy, "{{lib_dirs}}/snappyer/priv/snappyer.so", "bin/"}
]}
]}]},
{test, [
{deps, [ {docopt, {git, "https://github.com/zmstone/docopt-erl.git", {branch, "0.1.3"}}}
, {hut, "1.3.0"}
, {jsone, "1.7.0"}
, {meck, "0.9.2"}
, {proper, "1.4.0"}
, {snabbkaffe, {git, "https://github.com/kafka4beam/snabbkaffe.git", {branch, "1.0.8"}}}
]},
{erl_opts, [warnings_as_errors, {d, build_brod_cli}]}
]}
]}.
{ex_doc,
[ {extras,
[ {"CHANGELOG.md", #{title => "Changelog"}}
, {"README.md", #{title => "Overview"}}
, {"LICENSE", #{title => "License"}}
, "guides/examples/elixir/Publisher.md"
, "guides/examples/elixir/Consumer.md"
, "guides/examples/Authentication.md"
]}
, {groups_for_extras, [{"Elixir", [ <<"guides/examples/elixir/Publisher.md">>
, <<"guides/examples/elixir/Consumer.md">>
]}
,{"Usage", [<<"guides/examples/Authentication.md">>]}]}
, {main, "README.md"}
, {homepage_url, "https://hexdocs.pm/brod"}
, {source_url, "https://github.com/kafka4beam/brod"}
, {source_ref, "master"}
, {api_reference, false}
]}.
{hex, [{doc, ex_doc}]}.
{escript_incl_apps, [docopt, brod]}.
{ct_opts, [{enable_builtin_hooks, false}]}.
{dialyzer, [{warnings, [unknown]}]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{plugins, []}.