Commit 12841a4c authored by Fabio Pelosin's avatar Fabio Pelosin

[Git] UI improvements.

parent 6e769744
...@@ -30,10 +30,11 @@ module Pod ...@@ -30,10 +30,11 @@ module Pod
end end
def create_cache def create_cache
UI.section(" > Creating cache git repo (#{cache_path})",'',1) UI.section(" > Creating cache git repo (#{cache_path})",'',1) do
cache_path.rmtree if cache_path.exist? cache_path.rmtree if cache_path.exist?
cache_path.mkpath cache_path.mkpath
git! %Q|clone --mirror "#{url}" "#{cache_path}"| git! %Q|clone --mirror "#{url}" "#{cache_path}"|
end
end end
def prune_cache def prune_cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment