-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrebar.config
35 lines (30 loc) · 1.2 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
{erl_opts, [warnings_as_errors,
warn_export_all,
{lager_truncation_size, 15360}]}. %% 15KB
{xref_checks, [undefined_function_calls]}.
{cover_enabled, true}.
{edoc_opts, [{doclet, edown_doclet},
{dialyzer_specs, all},
{report_missing_type, true},
{report_type_mismatch, true},
{pretty_print, erl_pp},
{preprocess, true}]}.
{deps_error_on_conflict, true}.
{deps, [
{eredis, "1.*", {git, "https://github.com/Nordix/eredis.git", {tag, "v1.4.1"}}},
{ecredis_crc16, ".*", {git, "https://github.com/HalloAppInc/ecredis-crc16.git", {branch, "master"}}},
{lager, ".*", {git, "https://github.com/erlang-lager/lager", {tag, "3.6.10"}}}
]}.
%% the below block instructs the compiler to use the rebar3 port compiler (pc)
%% instead of the rebar2 pc for ecredis-crc16, which is still using rebar2
%% see README here: https://github.com/blt/port_compiler
{overrides,
[{override, ecredis_crc16, [
{plugins, [pc]},
{artifacts, ["priv/ecredis_crc16.so"]},
{provider_hooks, [
{post, [
{compile, {pc, compile}},
{clean, {pc, clean}}]}
]}
]}]}.