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