Procházet zdrojové kódy

set app's dir before setting app_info deps (#1928)

pull/1929/head
Tristan Sloughter před 6 roky
odevzdal GitHub
rodič
revize
0f6f163017
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      src/rebar_app_discover.erl

+ 2
- 1
src/rebar_app_discover.erl Zobrazit soubor

@ -280,7 +280,8 @@ find_apps(LibDirs, SrcDirs, Validate, State) ->
-spec find_app(file:filename_all(), valid | invalid | all) -> {true, rebar_app_info:t()} | false.
find_app(AppDir, Validate) ->
{Config, SrcDirs} = find_config_src(AppDir, ["src"]),
AppInfo = rebar_app_info:update_opts(rebar_app_info:new(), dict:new(), Config),
AppInfo = rebar_app_info:update_opts(rebar_app_info:dir(rebar_app_info:new(), AppDir),
dict:new(), Config),
find_app_(AppInfo, AppDir, SrcDirs, Validate).
%% @doc check that a given app in a directory is there, and whether it's

Načítá se…
Zrušit
Uložit