Browse Source

include project app dirs in release lib_dirs to search

pull/76/head
Tristan Sloughter 10 years ago
parent
commit
56b36a37fc
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/rebar_prv_release.erl
  2. +1
    -1
      src/rebar_prv_tar.erl

+ 1
- 1
src/rebar_prv_release.erl View File

@ -34,7 +34,7 @@ init(State) ->
do(State) -> do(State) ->
Options = rebar_state:command_args(State), Options = rebar_state:command_args(State),
DepsDir = rebar_dir:deps_dir(State), DepsDir = rebar_dir:deps_dir(State),
LibDirs = lists:usort(rebar_utils:filtermap(fun ec_file:exists/1, [DepsDir])),
LibDirs = lists:usort(rebar_utils:filtermap(fun ec_file:exists/1, [DepsDir | ?DEFAULT_PROJECT_APP_DIRS])),
OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR), OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR),
AllOptions = string:join(["release" | Options], " "), AllOptions = string:join(["release" | Options], " "),
try try

+ 1
- 1
src/rebar_prv_tar.erl View File

@ -34,7 +34,7 @@ init(State) ->
do(State) -> do(State) ->
Options = rebar_state:command_args(State), Options = rebar_state:command_args(State),
DepsDir = rebar_dir:deps_dir(State), DepsDir = rebar_dir:deps_dir(State),
LibDirs = lists:usort(rebar_utils:filtermap(fun ec_file:exists/1, [DepsDir])),
LibDirs = lists:usort(rebar_utils:filtermap(fun ec_file:exists/1, [DepsDir | ?DEFAULT_PROJECT_APP_DIRS])),
OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR), OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR),
AllOptions = string:join(["release", "tar" | Options], " "), AllOptions = string:join(["release", "tar" | Options], " "),
case rebar_state:get(State, relx, []) of case rebar_state:get(State, relx, []) of

Loading…
Cancel
Save