Sha256: 0dd983606d93e54b552b3044f328769a01123326a835a4c72ac53290f07b9a0b

Contents?: true

Size: 354 Bytes

Versions: 11

Compression:

Stored size: 354 Bytes

Contents

require 'fileutils'
namespace :muck do
  namespace :sync do
    desc "Sync required files from muck contents."
    task :contents do
      path = File.join(File.dirname(__FILE__), *%w[.. ..])
      system "rsync -ruv #{path}/db ."
      system "rsync -ruv #{path}/public ."
      system "rsync -ruv #{path}/config/initializers ./config"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
muck-contents-3.1.7 lib/tasks/muck_contents.rake
muck-contents-3.1.6 lib/tasks/muck_contents.rake
muck-contents-3.1.5 lib/tasks/muck_contents.rake
muck-contents-3.1.4 lib/tasks/muck_contents.rake
muck-contents-3.1.3 lib/tasks/muck_contents.rake
muck-contents-3.1.2 lib/tasks/muck_contents.rake
muck-contents-3.1.1 lib/tasks/muck_contents.rake
muck-contents-3.1.0 lib/tasks/muck_contents.rake
muck-contents-3.0.2 lib/tasks/muck_contents.rake
muck-contents-3.0.1 lib/tasks/muck_contents.rake
muck-contents-3.0.0 lib/tasks/muck_contents.rake