Sha256: 4fd0fb34d5309294e98b09b71534c8a408f838864f6d5cd05e0da06a72e7fa5c
Contents?: true
Size: 563 Bytes
Versions: 19
Compression:
Stored size: 563 Bytes
Contents
require 'rake' require 'rake/tasklib' require 'fileutils' module MuckComments class Tasks < ::Rake::TaskLib def initialize define end private def define namespace :muck do namespace :comments do desc "Sync required files from muck comments." 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 MuckComments::Tasks.new
Version data entries
19 entries across 19 versions & 1 rubygems