Browse Source

output checkouts compilation to _build/<profile>/checkouts/

pull/2276/head
Tristan Sloughter 5 years ago
parent
commit
d87b68b413
No known key found for this signature in database GPG Key ID: AAB97DDECCEB8150
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/rebar_app_utils.erl

+ 4
- 1
src/rebar_app_utils.erl View File

@ -255,7 +255,10 @@ dep_to_app(Parent, DepsDir, Name, Vsn, Source, IsLock, State) ->
CheckoutsDir = rebar_utils:to_list(rebar_dir:checkouts_dir(State, Name)),
AppInfo = case rebar_app_info:discover(CheckoutsDir) of
{ok, App} ->
rebar_app_info:source(rebar_app_info:is_checkout(App, true), checkout);
OutDir = filename:join([DepsDir, "..", "checkouts", Name]),
rebar_app_info:out_dir(
rebar_app_info:source(
rebar_app_info:is_checkout(App, true), checkout), OutDir);
not_found ->
Dir = rebar_utils:to_list(filename:join(DepsDir, Name)),
{ok, AppInfo0} =

Loading…
Cancel
Save