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

Version Path
muck-comments-0.1.18 lib/muck_comments/tasks.rb
muck-comments-0.1.17 lib/muck_comments/tasks.rb
muck-comments-0.1.16 lib/muck_comments/tasks.rb
muck-comments-0.1.15 lib/muck_comments/tasks.rb
muck-comments-0.1.14 lib/muck_comments/tasks.rb
muck-comments-0.1.13 lib/muck_comments/tasks.rb
muck-comments-0.1.12 lib/muck_comments/tasks.rb
muck-comments-0.1.11 lib/muck_comments/tasks.rb
muck-comments-0.1.10 lib/muck_comments/tasks.rb
muck-comments-0.1.7 lib/muck_comments/tasks.rb
muck-comments-0.1.8 lib/muck_comments/tasks.rb
muck-comments-0.1.9 lib/muck_comments/tasks.rb
muck-comments-0.1.1 lib/muck_comments/tasks.rb
muck-comments-0.1.2 lib/muck_comments/tasks.rb
muck-comments-0.1.3 lib/muck_comments/tasks.rb
muck-comments-0.1.4 lib/muck_comments/tasks.rb
muck-comments-0.1.5 lib/muck_comments/tasks.rb
muck-comments-0.1.6 lib/muck_comments/tasks.rb
muck-comments-0.1.0 lib/muck_comments/tasks.rb