您可以在此处找到 rebar 的完整文档:
https://github.com/rebar/rebar/wiki
显示大部分可用选项的详细 rebar.config 示例可在以下位置获得:
https://github.com/rebar/rebar/blob/master/rebar.config.sample
从deps部分阅读:
%% What dependencies we have, dependencies can be of 3 forms, an application
%% name as an atom, eg. mochiweb, a name and a version (from the .app file), or
%% an application name, a version and the SCM details on how to fetch it (SCM
%% type, location and revision). Rebar currently supports git, hg, bzr and svn.
{deps, [application_name,
{application_name, "1.0.*"},
{application_name, "1.0.*",
{git, "git://github.com/basho/rebar.git", {branch, "master"}}},
{application_name, "1.0.*",
{git, "git://github.com/basho/rebar.git", {branch, "master"}},
[{alt_url, "https://github.com/basho/rebar.git"}]}]}.
如您所见,您指出的特定参数与 Erlang 应用程序的版本(旨在作为 OTP 应用程序)有关。版本在Erlang 应用程序文件中标明。