Sha256: 7429f99e865fd67b3e01f7ed59903df911444f7ec6ef8fcac38f89247a5627fe

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

namespace :files do
  desc 'Downlaod remote shared files to local machine.'
  task :download, :path do |task, args|
    on primary fetch(:migration_role) do
      within shared_path do
        download! "#{shared_path}/#{args[:path]}", '.', recursive: true, verbose: true
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
j-cap-recipes-0.0.12 lib/j-cap-recipes/tasks/files.rake