From 27d0f6166a1328fdeb1a5974e6b7e91a97e13f56 Mon Sep 17 00:00:00 2001 From: Jesse Gumm Date: Sun, 20 Mar 2016 10:08:05 -0500 Subject: Add raw to VsnRegex-Free dep --- src/rebar_deps.erl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl index def703b..251bdee 100644 --- a/src/rebar_deps.erl +++ b/src/rebar_deps.erl @@ -283,6 +283,9 @@ info_help(Description) -> {rebar, "", {git, "git://github.com/rebar/rebar.git", {branch, "master"}}, [raw]}, + {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"}}, @@ -381,6 +384,8 @@ find_deps(Config, Mode, [{App, Source} | Rest], Acc) when is_tuple(Source) -> find_deps(Config, Mode, [{App, ".*", Source} | Rest], Acc); find_deps(Config, Mode, [{App, VsnRegex} | Rest], Acc) when is_atom(App) -> find_deps(Config, Mode, [{App, VsnRegex, undefined} | Rest], Acc); +find_deps(Config, Mode, [{App, Source, Opts} | Rest], Acc) when is_tuple(Source) -> + find_deps(Config, Mode, [{App, ".*", Source, Opts} | Rest], Acc); find_deps(Config, Mode, [{App, VsnRegex, Source} | Rest], Acc) -> find_deps(Config, Mode, [{App, VsnRegex, Source, []} | Rest], Acc); find_deps(Config, Mode, [{App, VsnRegex, Source, Opts} | Rest], Acc) -- cgit v1.2.1