aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric B Merritt <[email protected]>2013-04-09 20:50:37 -0700
committerEric B Merritt <[email protected]>2013-04-09 20:50:37 -0700
commitc003f00bfc33df3c561ee773f760c6d03e77ec14 (patch)
tree2d1febcc52525606bfd027cfcfb1d9ca48bca095 /src
parent10eb471cda3609156e21af93e04522543fb674c0 (diff)
downloadrelx-c003f00bfc33df3c561ee773f760c6d03e77ec14.tar.gz
relx-c003f00bfc33df3c561ee773f760c6d03e77ec14.tar.bz2
relx-c003f00bfc33df3c561ee773f760c6d03e77ec14.zip
make sure that top level releases are also supported
Add matching test
Diffstat (limited to 'src')
-rw-r--r--src/rcl_prv_discover.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rcl_prv_discover.erl b/src/rcl_prv_discover.erl
index fa810a6..3627787 100644
--- a/src/rcl_prv_discover.erl
+++ b/src/rcl_prv_discover.erl
@@ -97,6 +97,7 @@ add_common_project_dirs(State) ->
Apps = filename:join(Root, "apps"),
Lib = filename:join(Root, "lib"),
Deps = filename:join(Root, "deps"),
+ Ebin = filename:join(Root, "ebin"),
lists:foldl(fun(Dir, LibDirs) ->
case ec_file:exists(Dir) of
true ->
@@ -104,7 +105,7 @@ add_common_project_dirs(State) ->
false ->
LibDirs
end
- end, [], [Deps, Lib, Apps])
+ end, [], [Deps, Lib, Apps, Ebin])
end.
-spec add_system_lib_dir(rcl_state:t()) -> [file:name()].