Sha256: 601da93a7da3431502e6cbb0824cacf3dd0c929aed879d6d67f9fb6e12de7aca
Contents?: true
Size: 506 Bytes
Versions: 17
Compression:
Stored size: 506 Bytes
Contents
require 'rake' require 'rake/tasklib' require 'fileutils' module MuckFriends class Tasks < ::Rake::TaskLib def initialize define end private def define namespace :muck do namespace :friends do desc "Sync files from muck friends." task :sync do path = File.join(File.dirname(__FILE__), *%w[.. ..]) system "rsync -ruv #{path}/db ." end end end end end end MuckFriends::Tasks.new
Version data entries
17 entries across 17 versions & 1 rubygems