mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
5182ded01c
In the rebar.config files for the gpb and protobuffs inttests, use the {Name, Version} dependency form instead of {Name, Version, Source}, since the Source is not really applicable; the mocks are copied into place by the proto_gpb_rt:files/0 and proto_protobuffs_rt:files/0. Idea and suggestion by Tuncer Ayaz.
20 lines
496 B
Erlang
20 lines
496 B
Erlang
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
|
|
%% ex: ts=4 sw=4 ft=erlang et
|
|
|
|
{erl_opts,
|
|
[
|
|
{platform_define, "R13|R14", 'NO_CALLBACK_ATTRIBUTE'}
|
|
]}.
|
|
|
|
{deps,
|
|
[
|
|
%% The dependency below to gpb is needed for "rebar compile" to
|
|
%% work, thus for the inttest to work, but the gpb that is actually
|
|
%% used in inttest is brought in from the inttest/proto_gpb/mock
|
|
%% subdirectory.
|
|
{gpb, ".*"}
|
|
]}.
|
|
|
|
{proto_compiler, gpb}.
|
|
|
|
{gpb_opts, [{module_name_suffix, "_gpb"}]}.
|