Browse Source

remove old info function from install_deps, it is a bare provider

pull/185/head
Tristan Sloughter 10 years ago
parent
commit
dcd8962afb
1 changed files with 2 additions and 35 deletions
  1. +2
    -35
      src/rebar_prv_install_deps.erl

+ 2
- 35
src/rebar_prv_install_deps.erl View File

@ -61,8 +61,8 @@ init(State) ->
{bare, true}, {bare, true},
{deps, ?DEPS}, {deps, ?DEPS},
{example, undefined}, {example, undefined},
{short_desc, "Install dependencies"},
{desc, info("Install dependencies")},
{short_desc, ""},
{desc, ""},
{opts, []}])), {opts, []}])),
{ok, State1}. {ok, State1}.
@ -499,39 +499,6 @@ parse_goal(Name, Constraint) ->
fail fail
end. end.
info(Description) ->
io_lib:format("~s.~n"
"~n"
"Valid rebar.config options:~n"
" ~p~n"
" ~p~n",
[
Description,
{deps_dir, "deps"},
{deps,
[app_name,
{rebar, "1.0.*"},
{rebar, ".*",
{git, "git://github.com/rebar/rebar.git"}},
{rebar, ".*",
{git, "git://github.com/rebar/rebar.git", "Rev"}},
{rebar, "1.0.*",
{git, "git://github.com/rebar/rebar.git", {branch, "master"}}},
{rebar, "1.0.0",
{git, "git://github.com/rebar/rebar.git", {tag, "1.0.0"}}},
{rebar, "",
{git, "git://github.com/rebar/rebar.git", {branch, "master"}},
[raw]},
{app_name, ".*", {hg, "https://www.example.org/url"}},
{app_name, ".*", {rsync, "Url"}},
{app_name, ".*", {svn, "https://www.example.org/url"}},
{app_name, ".*", {svn, "svn://svn.example.org/url"}},
{app_name, ".*", {bzr, "https://www.example.org/url", "Rev"}},
{app_name, ".*", {fossil, "https://www.example.org/url"}},
{app_name, ".*", {fossil, "https://www.example.org/url", "Vsn"}},
{app_name, ".*", {p4, "//depot/subdir/app_dir"}}]}
]).
warn_skip_deps(AppInfo) -> warn_skip_deps(AppInfo) ->
?WARN("Skipping ~s (from ~p) as an app of the same name " ?WARN("Skipping ~s (from ~p) as an app of the same name "
"has already been fetched~n", "has already been fetched~n",

Loading…
Cancel
Save