summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorbertagaz <bertagaz@ptitcanardnoir.org>2016-03-22 17:23:27 +0100
committerbertagaz <bertagaz@ptitcanardnoir.org>2016-03-22 17:23:27 +0100
commit74784ac9c76a03c27ff67f711445cd69037b5921 (patch)
tree4d6987ce128bdef5c948d06622b2d05384f0704d /Rakefile
parent54100edccdfd03ac38843306560e091a8b8a9705 (diff)
Be a bit more gentle and explain why people have to wait to bit.
Without an explanation it's a bit troubling, one don't know what is happening, and just have weird messages in the console like "Connection to X.X.X.X closed".
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 9bff246..3ede568 100644
--- a/Rakefile
+++ b/Rakefile
@@ -295,6 +295,7 @@ task :build => ['parse_build_options', 'ensure_clean_repository', 'ensure_clean_
hostname = vagrant_ssh_config('HostName')
key_file = vagrant_ssh_config('IdentityFile')
run_vagrant('ssh', '-c', "sudo chown #{user} #{artifacts.join(' ')}")
+ $stderr.puts "Retrieving artifacts from Vagrant build box."
Net::SCP.start(hostname, user, :keys => [key_file]) do |scp|
artifacts.each do |artifact|
scp.download!(artifact, '.')