Просмотр исходного кода

parsing deps of a dep should be done at the dep's level + 1

pull/453/head
Tristan Sloughter 10 лет назад
Родитель
Сommit
35166b5f1a
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/rebar_prv_install_deps.erl

+ 1
- 1
src/rebar_prv_install_deps.erl Просмотреть файл

@ -385,7 +385,7 @@ handle_dep(State, DepsDir, AppInfo, Locks, Level) ->
NewLocks = [{DepName, Source, LockLevel+Level} ||
{DepName, Source, LockLevel} <- rebar_state:get(S3, {locks, default}, [])],
AppInfo2 = rebar_app_info:deps(AppInfo1, rebar_state:deps_names(Deps)),
{SrcDeps, PkgDeps} = parse_deps(DepsDir, Deps, S3, Locks, Level),
{SrcDeps, PkgDeps} = parse_deps(DepsDir, Deps, S3, Locks, Level+1),
{AppInfo2, SrcDeps, PkgDeps, Locks++NewLocks, State1}.
-spec maybe_fetch(rebar_app_info:t(), atom(), boolean(),

Загрузка…
Отмена
Сохранить