mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
2af51af986
In inttest/proto_protobuffs, replace the external dependency to erlang_protobuffs, a protocol buffer compiler, with a simple mock. The mock provides enough of what is needed for inttest only, which is to generate some dummy content, but with proper file names.
16 lines
383 B
Erlang
16 lines
383 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,
|
|
[
|
|
{protobuffs, [], {rsync, "../../../inttest/proto_protobuffs/mock/protobuffs"}}
|
|
]}.
|
|
|
|
%% The default proto compiler is protobuffs
|
|
%% so don't need to specify this
|
|
%% {proto_compiler, protobuffs}.
|