Rakefile in ruby-vpi-15.0.0 vs Rakefile in ruby-vpi-15.0.1
- old
+ new
@@ -52,11 +52,11 @@
path
end
# uploads the given sources to the given destination URL
def upload aDestUrl, *aSources
- sh 'scp', '-Cr', aSources, aDestUrl
+ sh 'rsync', '-avz', '--delete', aSources, aDestUrl
end
task :default => :build
@@ -200,10 +200,10 @@
task :web_ref => 'ref' do |t|
upload PROJECT_SSH_URL, *t.prerequisites
end
desc "Publish user documentation."
-task :web_doc => :doc do |t|
+task :web_doc => 'doc' do |t|
upload PROJECT_SSH_URL, *t.prerequisites
end
desc 'Connect to website FTP.'
task :ftp do