mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 19:19:53 +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
566 B
Erlang
20 lines
566 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 protobuffs is needed for "rebar compile" to
|
|
%% work, thus for the inttest to work, but the protobuffs that is actually
|
|
%% used in inttest is brought in from the inttest/proto_protobuffs/mock
|
|
%% subdirectory.
|
|
{protobuffs, ".*"}
|
|
]}.
|
|
|
|
%% The default proto compiler is protobuffs
|
|
%% so don't need to specify this
|
|
%% {proto_compiler, protobuffs}.
|