소스 검색

do not include dir . in relx lib paths it will break lib discovery

pull/93/head
Tristan Sloughter 10 년 전
부모
커밋
f1ed8ed36c
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -1
      src/rebar_prv_release.erl
  2. +2
    -1
      src/rebar_prv_tar.erl

+ 2
- 1
src/rebar_prv_release.erl 파일 보기

@ -34,7 +34,8 @@ 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 | ?DEFAULT_PROJECT_APP_DIRS])),
LibDirs = rebar_utils:filtermap(fun ec_file:exists/1,
[DepsDir | lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS)]),
OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR),
AllOptions = string:join(["release" | Options], " "),
try

+ 2
- 1
src/rebar_prv_tar.erl 파일 보기

@ -34,7 +34,8 @@ 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 | ?DEFAULT_PROJECT_APP_DIRS])),
LibDirs = rebar_utils:filtermap(fun ec_file:exists/1,
[DepsDir | lists:delete(".", ?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

불러오는 중...
취소
저장