Sha256: a6dc7fe1c9c0b982d887625c8528061cc357a9ac083ab15ba7ab87aa061e7969

Contents?: true

Size: 508 Bytes

Versions: 20

Compression:

Stored size: 508 Bytes

Contents

require 'rake'
require 'rake/tasklib'
require 'fileutils'

module MuckProfiles
  class Tasks < ::Rake::TaskLib
    def initialize
      define
    end
  
    private
    def define
      
      namespace :muck do
        namespace :profiles do
          desc "Sync required files from profiles."
          task :sync do
            path = File.join(File.dirname(__FILE__), *%w[.. ..])
            system "rsync -ruv #{path}/db ."
          end
        end
      end

    end
  end
end
MuckProfiles::Tasks.new

Version data entries

20 entries across 20 versions & 1 rubygems

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