Apps should be used for include_lib too

This commit is contained in:
Rob Ashton 2015-06-12 11:15:14 +01:00
parent 5c6e78a271
commit 3dda9b833c

View File

@ -50,8 +50,8 @@ rebar_opts(RebarFile) ->
fallback_opts() ->
code:add_pathsa(filelib:wildcard("deps/*/ebin")),
code:add_pathsa(nested_app_ebins()),
[ { i, filename:absname("deps") }
| [ { i, filename:absname(Path) } || Path <- filelib:wildcard("deps/*/apps")]
[
{ i, filename:absname("apps") }, { i, filename:absname("deps") } | [ { i, filename:absname(Path) } || Path <- filelib:wildcard("deps/*/apps")]
].
nested_app_ebins() ->