2014-10-17 22:59:31 +00:00
|
|
|
%% -*- 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,
|
|
|
|
[
|
2015-01-08 22:17:11 +00:00
|
|
|
%% 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, not from the source below. The dependency is
|
|
|
|
%% needed, but the git url serves mostly as an example.
|
|
|
|
{protobuffs, [], {git, "git://github.com/basho/erlang_protobuffs",
|
|
|
|
{branch, "master"}}}
|
2014-10-17 22:59:31 +00:00
|
|
|
]}.
|
|
|
|
|
|
|
|
%% The default proto compiler is protobuffs
|
|
|
|
%% so don't need to specify this
|
2015-01-02 00:35:37 +00:00
|
|
|
%% {proto_compiler, protobuffs}.
|