mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 11:09:55 +00:00
deps: add new clause of format_source function
Function format_source in rebar_deps.erl will fail on sources like {rsync, Path} or {hg, URL} in rebar.config. Add new function clause to match such source types.
This commit is contained in:
parent
71aedb8674
commit
5d89a93db2
2 changed files with 4 additions and 1 deletions
3
THANKS
3
THANKS
|
@ -127,4 +127,5 @@ alisdair sullivan
|
|||
Alexander Verbitsky
|
||||
Andras Horvath
|
||||
Drew Varner
|
||||
Roberto Aloi
|
||||
Roberto Aloi
|
||||
Pavel Baturko
|
|
@ -816,5 +816,7 @@ format_source(App, {git, Url, {tag, Tag}}) ->
|
|||
?FMT("~p TAG ~s ~s", [App, Tag, Url]);
|
||||
format_source(App, {_, Url, Rev}) ->
|
||||
?FMT("~p REV ~s ~s", [App, Rev, Url]);
|
||||
format_source(App, {SrcType, Url}) ->
|
||||
?FMT("~p ~p ~s", [App, SrcType, Url]);
|
||||
format_source(App, undefined) ->
|
||||
?FMT("~p", [App]).
|
||||
|
|
Loading…
Reference in a new issue