Commit 029d19eb authored by Fabio Pelosin's avatar Fabio Pelosin

[Pod::Command::Setup] Added success output

parent 70b2f238
...@@ -83,7 +83,6 @@ module Pod ...@@ -83,7 +83,6 @@ module Pod
end end
def run def run
puts "Using push access" if push? && !config.silent
if dir.exist? if dir.exist?
set_master_repo_url set_master_repo_url
update_master_repo_command.run update_master_repo_command.run
...@@ -93,6 +92,7 @@ module Pod ...@@ -93,6 +92,7 @@ module Pod
hook = config.repos_dir + 'master/.git/hooks/pre-commit' hook = config.repos_dir + 'master/.git/hooks/pre-commit'
hook.open('w') { |f| f << "#!/bin/sh\nrake lint" } hook.open('w') { |f| f << "#!/bin/sh\nrake lint" }
`chmod +x '#{hook}'` `chmod +x '#{hook}'`
puts "Setup completed (#{push? ? "push" : "read-only"} access)" unless config.silent
end end
end end
end end
......
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