forked from basho/riak_pb
-
Notifications
You must be signed in to change notification settings - Fork 8
/
rebar.config
28 lines (22 loc) · 1.01 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
%% -*- mode: erlang -*-
{erl_opts, [debug_info, warnings_as_errors, {platform_define, "^[0-9]+",
namespaced_types}]}.
{deps, [
{meck, "0.8.12"},
{protobuffs, {git, "git://github.com/basho/erlang_protobuffs.git", {tag, "0.9.0"}}}
]}.
{xref_checks, [undefined_function_calls, undefined_functions,
deprecated_function_calls, deprecated_functions,
locals_not_used]}.
{eunit_opts, [verbose]}.
{plugins, [
rebar3_protobuffs,
{ protobuffs, {git, "git://github.com/basho/erlang_protobuffs.git", {branch, "master"}}},
{ riak_pb_msgcodegen, {git, "git://github.com/tsloughter/riak_pb_msgcodegen", {branch, "master"}}}
]}.
{provider_hooks, [{pre, [{compile, {protobuffs, compile}},
{clean, {protobuffs, clean}},
{compile, riak_pb_msgcodegen}
]}]}.
%{provider_hooks, [{pre, [{compile, {protobuffs, compile}}]}]}.
{edoc_opts, [{preprocess, true}]}.