Przeglądaj źródła

include _checkouts in release lib dirs if it exists

pull/373/head
Tristan Sloughter 10 lat temu
rodzic
commit
ae7d1ca1ea
2 zmienionych plików z 4 dodań i 2 usunięć
  1. +2
    -1
      src/rebar_prv_release.erl
  2. +2
    -1
      src/rebar_prv_tar.erl

+ 2
- 1
src/rebar_prv_release.erl Wyświetl plik

@ -35,8 +35,9 @@ do(State) ->
Caller = rebar_state:get(State, caller, api),
Options = rebar_state:command_args(State),
DepsDir = rebar_dir:deps_dir(State),
ProjectAppDirs = lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS),
LibDirs = rebar_utils:filtermap(fun ec_file:exists/1,
[DepsDir | lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS)]),
[?DEFAULT_CHECKOUTS_DIR, DepsDir | ProjectAppDirs]),
OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR),
AllOptions = string:join(["release" | Options], " "),
try

+ 2
- 1
src/rebar_prv_tar.erl Wyświetl plik

@ -35,8 +35,9 @@ do(State) ->
Caller = rebar_state:get(State, caller, api),
Options = rebar_state:command_args(State),
DepsDir = rebar_dir:deps_dir(State),
ProjectAppDirs = lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS),
LibDirs = rebar_utils:filtermap(fun ec_file:exists/1,
[DepsDir | lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS)]),
[?DEFAULT_CHECKOUTS_DIR, DepsDir | ProjectAppDirs]),
OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR),
AllOptions = string:join(["release", "tar" | Options], " "),
case rebar_state:get(State, relx, []) of

Ładowanie…
Anuluj
Zapisz