Sha256: 6cf852cbeb735343ef4194b1cd80dea1b551089e1cc73815e69935d187d97413
Contents?: true
Size: 779 Bytes
Versions: 11
Compression:
Stored size: 779 Bytes
Contents
require 'rake' require 'rake/tasklib' require 'fileutils' module MuckCommerce class Tasks < ::Rake::TaskLib def initialize define end private def define namespace :muck do namespace :sync do # namespace :db do # # desc "Populates the database with default values" # task :populate => :environment do # # end # # end desc "Sync files from muck commerce." task :commerce do path = File.join(File.dirname(__FILE__), *%w[.. ..]) system "rsync -ruv #{path}/db ." #system "rsync -ruv #{path}/public ." end end end end end end MuckCommerce::Tasks.new
Version data entries
11 entries across 11 versions & 1 rubygems