Przeglądaj źródła

sort-as: force an order on multiple profiles

pull/1716/head
Pierre Fenoll 7 lat temu
rodzic
commit
3146a285fb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/rebar_dir.erl

+ 1
- 1
src/rebar_dir.erl Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz