lib/capistrano/tasks/files.rake in capistrano-sumo-1.1.0 vs lib/capistrano/tasks/files.rake in capistrano-sumo-1.1.1
- old
+ new
@@ -1,16 +1,16 @@
namespace :sumo do
namespace :files do
- desc "Uploads the local files to the remote server"
+ desc 'Uploads the local files to the remote server'
task :put do
on roles(:web) do
fetch(:files_dir).each do |path|
upload! path, "#{current_path}/#{File.dirname(path)}", recursive: true
end
end
end
- desc "Downloads the remote files to the local instance"
+ desc 'Downloads the remote files to the local instance'
task :get do
on roles(:web) do
fetch(:files_dir).each do |path|
download! "#{current_path}/#{path}", File.dirname(path), recursive: true
end