ソースを参照

Issue #1416: Merge erl_files_first separately and avoid sorting.

The order of the files listed in "erl_files_first" option is
important and should not be sorted. By handling the merge
similarly to mib_files_first, the sort order is preserved.
pull/1544/head
Thomas O'Dowd 8年前
committed by Fred Hebert
コミット
a1f4742709
1個のファイルの変更4行の追加0行の削除
  1. +4
    -0
      src/rebar_opts.erl

+ 4
- 0
src/rebar_opts.erl ファイルの表示

@ -118,6 +118,10 @@ merge_opt({plugins, _}, NewValue, _OldValue) ->
NewValue;
merge_opt(profiles, NewValue, OldValue) ->
dict:to_list(merge_opts(dict:from_list(NewValue), dict:from_list(OldValue)));
merge_opt(erl_first_files, Value, Value) ->
Value;
merge_opt(erl_first_files, NewValue, OldValue) ->
OldValue ++ NewValue;
merge_opt(mib_first_files, Value, Value) ->
Value;
merge_opt(mib_first_files, NewValue, OldValue) ->

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