aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-09-27 15:50:40 -0500
committerTristan Sloughter <[email protected]>2014-10-11 11:13:05 -0500
commit2604b7f0e9e11ee2fae17816499aba180b9b9683 (patch)
tree00a494d44a8aa502217b44ec331a6ffed1736f8e /src
parent0516b405ccb98febcf94a8e94000f4a633569f59 (diff)
downloadrelx-2604b7f0e9e11ee2fae17816499aba180b9b9683.tar.gz
relx-2604b7f0e9e11ee2fae17816499aba180b9b9683.tar.bz2
relx-2604b7f0e9e11ee2fae17816499aba180b9b9683.zip
add support for rebar3 deps dir
Diffstat (limited to 'src')
-rw-r--r--src/rlx_prv_discover.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rlx_prv_discover.erl b/src/rlx_prv_discover.erl
index c05cdb1..520cf15 100644
--- a/src/rlx_prv_discover.erl
+++ b/src/rlx_prv_discover.erl
@@ -109,6 +109,7 @@ add_common_project_dirs(State) ->
Apps = filename:join(Root, "apps"),
Lib = filename:join(Root, "lib"),
Deps = filename:join(Root, "deps"),
+ Rebar3Deps = filename:join(Root, "_deps"),
Ebin = filename:join(Root, "ebin"),
lists:foldl(fun(Dir, LibDirs) ->
case ec_file:exists(Dir) of
@@ -117,7 +118,7 @@ add_common_project_dirs(State) ->
false ->
LibDirs
end
- end, [], [Deps, Lib, Apps, Ebin])
+ end, [], [Rebar3Deps, Deps, Lib, Apps, Ebin])
end.
-spec add_system_lib_dir(rlx_state:t()) -> [file:name()].