mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
9f057f29c5
This borrows heavily from the inttest for gpb, many thanks to Luis Rascão for providing a most useful example.
18 lines
438 B
Erlang
18 lines
438 B
Erlang
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
|
|
%% ex: ts=4 sw=4 ft=erlang et
|
|
|
|
{erl_opts,
|
|
[
|
|
{i, "deps/protobuffs/include"},
|
|
{platform_define, "R13|R14", 'NO_CALLBACK_ATTRIBUTE'}
|
|
]}.
|
|
|
|
{deps,
|
|
[
|
|
{protobuffs, [], {git, "git://github.com/basho/erlang_protobuffs",
|
|
{branch, "master"}}}
|
|
]}.
|
|
|
|
%% The default proto compiler is protobuffs
|
|
%% so don't need to specify this
|
|
%% {proto_compiler, gpb}.
|