ソースを参照

clean ups from Fred's comments

pull/330/head
Tristan Sloughter 10年前
コミット
d317869a3e
4個のファイルの変更4行の追加10行の削除
  1. +0
    -6
      src/rebar.hrl
  2. +2
    -2
      src/rebar_config.erl
  3. +1
    -1
      src/rebar_digraph.erl
  4. +1
    -1
      src/rebar_state.erl

+ 0
- 6
src/rebar.hrl ファイルの表示

@ -36,12 +36,6 @@
-type rebar_digraph() :: digraph().
-endif.
-ifdef(namespaced_types).
-type rebar_tid() :: ets:tid().
-else.
-type rebar_tid() :: tid().
-endif.
-define(GRAPH_VSN, 2).
-type v() :: {digraph:vertex(), term()} | 'false'.
-type e() :: {digraph:vertex(), digraph:vertex()}.

+ 2
- 2
src/rebar_config.erl ファイルの表示

@ -128,8 +128,8 @@ check_newly_added(Dep, LockedDeps) when is_atom(Dep) ->
true;
_ ->
?WARN("Newly added dep ~s is locked at a lower level. "
"If you really want to unlock it, use 'rebar3 upgrade ~s'",
[NewDep, NewDep]),
"If you really want to unlock it, use 'rebar3 upgrade ~s'",
[NewDep, NewDep]),
false
end
end;

+ 1
- 1
src/rebar_digraph.erl ファイルの表示

@ -101,7 +101,7 @@ cull_deps(Graph, Vertices, Level, Levels, Solution, Discarded) ->
DiscardedAcc1}
end
end, {NewVertices, SolutionAcc, LevelsAcc, DiscardedAcc}, OutNeighbors)
end, {[], Solution, Levels, Discarded}, lists:sort(Vertices)),
end, {[], Solution, Levels, Discarded}, lists:keysort(1, Vertices)),
cull_deps(Graph, NV, Level+1, LS, NS, DS).
subgraph(Graph, Vertices) ->

+ 1
- 1
src/rebar_state.erl ファイルの表示

@ -55,7 +55,7 @@
all_deps = [] :: [rebar_app_info:t()],
packages = undefined :: {rebar_dict(), rebar_digraph()} | undefined,
registry = undefined :: {ok, rebar_tid()} | error | undefined,
registry = undefined :: {ok, ets:tid()} | error | undefined,
overrides = [],
resources = [],
providers = []}).

読み込み中…
キャンセル
保存