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

sort-as: force an order on multiple profiles

pull/1716/head
Pierre Fenoll 7 лет назад
Родитель
Сommit
3146a285fb
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/rebar_dir.erl

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

@ -49,7 +49,7 @@ profile_dir(Opts, Profiles) ->
%% of profiles to match order passed to `as`
["default"|Rest] -> {rebar_opts:get(Opts, base_dir, ?DEFAULT_BASE_DIR), Rest}
end,
ProfilesDir = rebar_string:join(ProfilesStrings, "+"),
ProfilesDir = rebar_string:join(lists:sort(ProfilesStrings), "+"),
filename:join(BaseDir, ProfilesDir).
%% @doc returns the directory where dependencies should be placed

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