瀏覽代碼

sort-as: force an order on multiple profiles

pull/1716/head
Pierre Fenoll 7 年之前
父節點
當前提交
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

Loading…
取消
儲存