Sha256: 82d8df6a79bb972f81dbb78ee196143a22fde68feac08adb1edf607d848b6621
Contents?: true
Size: 562 Bytes
Versions: 11
Compression:
Stored size: 562 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 :contents do desc "Sync required files from muck contents." task :sync do path = File.join(File.dirname(__FILE__), *%w[.. ..]) system "rsync -ruv #{path}/db ." system "rsync -ruv #{path}/public ." end end end end end end MuckContents::Tasks.new
Version data entries
11 entries across 11 versions & 1 rubygems