浏览代码

include project app dirs in release lib_dirs to search

pull/76/head
Tristan Sloughter 10 年前
父节点
当前提交
56b36a37fc
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      src/rebar_prv_release.erl
  2. +1
    -1
      src/rebar_prv_tar.erl

+ 1
- 1
src/rebar_prv_release.erl 查看文件

@ -34,7 +34,7 @@ init(State) ->
do(State) ->
Options = rebar_state:command_args(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),
AllOptions = string:join(["release" | Options], " "),
try

+ 1
- 1
src/rebar_prv_tar.erl 查看文件

@ -34,7 +34,7 @@ init(State) ->
do(State) ->
Options = rebar_state:command_args(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),
AllOptions = string:join(["release", "tar" | Options], " "),
case rebar_state:get(State, relx, []) of

正在加载...
取消
保存