diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2014-12-21 15:35:13 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2014-12-21 15:35:13 -0500 |
commit | 94d568ad0e57c9459219b98e03e9ffff1c50ccea (patch) | |
tree | 536a60024568ec16973643081dd359204b2a9756 | |
parent | ae7a7aae18116eedd582662bf28644428f175029 (diff) | |
parent | 5d89a93db201a1e0fe2f79c8c6f71e5eba3b8962 (diff) | |
download | rebar-94d568ad0e57c9459219b98e03e9ffff1c50ccea.tar.gz |
Merge branch 'fix_format_source' of https://github.com/irpab/rebar into irpab-fix_format_source
Conflicts:
THANKS
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | src/rebar_deps.erl | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -131,3 +131,4 @@ Roberto Aloi Luis Rascao Vlad Dumitrescu stwind +Pavel Baturko diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl index bd94921..952276c 100644 --- a/src/rebar_deps.erl +++ b/src/rebar_deps.erl @@ -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]). |