mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
a8ffba6da5
Installation of the gpb and protobuffs mocks, in inttest, is now done using copy in proto_{gpb,protobuffs}_rt:files/0. Previously, rebar prepare-deps was used, the dependencies had an rsync source with a relative path back to the inttest directory. This eliminates a dependency in inttest to rsync, instead relying on retest's functionality to copy files and directories. Also, it eliminates hidden knowledge about the directory layout that retest chooses. Idea and suggestion by Tuncer Ayaz. Since the dependency sources in the inttest rebar.config files are no longer used, they are now changed back from rsync paths to git urls, to serve as examples.
22 lines
680 B
Erlang
22 lines
680 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, not from the source below. The dependency is
|
|
%% needed, but the git url serves mostly as an example.
|
|
{gpb, [], {git, "git://github.com/tomas-abrahamsson/gpb",
|
|
{branch, "master"}}}
|
|
]}.
|
|
|
|
{proto_compiler, gpb}.
|
|
|
|
{gpb_opts, [{module_name_suffix, "_gpb"}]}.
|