Sha256: c3df973ac24f1d7645bed2c5d1f1c87fa6968cb70e46b359290a62a6ed6c77db
Contents?: true
Size: 631 Bytes
Versions: 9
Compression:
Stored size: 631 Bytes
Contents
require 'rake' require 'rake/tasklib' require 'fileutils' module MuckContents class Tasks < ::Rake::TaskLib def initialize define end private def define 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 end end end MuckContents::Tasks.new
Version data entries
9 entries across 9 versions & 1 rubygems