Преглед на файлове

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

pull/1929/head
Tristan Sloughter преди 6 години
committed by GitHub
родител
ревизия
0f6f163017
No known key found for this signature in database GPG ключ ID: 4AEE18F83AFDEB23
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. +2
    -1
      src/rebar_app_discover.erl

+ 2
- 1
src/rebar_app_discover.erl Целия файл

@ -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

Зареждане…
Отказ
Запис