diff options
author | Jesse Gumm <gumm@sigma-star.com> | 2016-03-20 10:08:05 -0500 |
---|---|---|
committer | Jesse Gumm <gumm@sigma-star.com> | 2016-03-20 11:23:34 -0500 |
commit | 27d0f6166a1328fdeb1a5974e6b7e91a97e13f56 (patch) | |
tree | 7724a333624b9e904b9ab2b624588b254207a741 /src | |
parent | 3b345046bde490641866e6098d9145c360b04205 (diff) | |
download | rebar-27d0f6166a1328fdeb1a5974e6b7e91a97e13f56.tar.gz |
Add raw to VsnRegex-Free dep
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_deps.erl | 5 |
1 files changed, 5 insertions, 0 deletions
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) |