diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-09-30 09:27:40 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2016-09-30 09:27:40 -0400 |
commit | 787cd967b632bef4534ade58ab64a51eda838df1 (patch) | |
tree | 633b1b621107585b9ca84f2e2d68ed70a626da15 /src/rebar_git_resource.erl | |
parent | 7ed3ecdf4e73d04f1dc25554ac80baba908315bd (diff) |
Fix private includes when compiling in test profile
When an include file is set in a private path (i.e. src/), the rebar3
compiler would not add them to the {i, Path} params -- only include/ and
the project root were being added.
This meant that when some extra source directories were added to the
compile job, such as test/ when running under the test profile, the
private include paths could not be shared with the test module.
This patch fixes the issues (and adds tests) for such a specific case by
adding all the configured include paths to the {i, Path} erl_opts
arguments, yielding successful compile runs.
Diffstat (limited to 'src/rebar_git_resource.erl')
0 files changed, 0 insertions, 0 deletions