Sha256: 4421eeb5f861e0a3680e0b4800beb5753f33bf41b860e4c69eee517cc4e5a50e
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
namespace :spree_paypal_adaptive_payment do desc "Copies all migrations and assets (NOTE: This will be obsolete with Rails 3.1)" task :install do Rake::Task['spree_paypal_adaptive_payment:install:migrations'].invoke Rake::Task['spree_paypal_adaptive_payment:install:assets'].invoke end namespace :install do desc "Copies all migrations (NOTE: This will be obsolete with Rails 3.1)" task :migrations do source = File.join(File.dirname(__FILE__), '..', '..', 'db') destination = File.join(Rails.root, 'db') puts "INFO: Mirroring assets from #{source} to #{destination}" Spree::FileUtilz.mirror_files(source, destination) end desc "Copies all assets (NOTE: This will be obsolete with Rails 3.1)" task :assets do source = File.join(File.dirname(__FILE__), '..', '..', 'public') destination = File.join(Rails.root, 'public') puts "INFO: Mirroring assets from #{source} to #{destination}" Spree::FileUtilz.mirror_files(source, destination) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_paypal_adaptive_payment-0.1.1 | lib/tasks/spree_paypal_adaptive_payment.rake |
spree_paypal_adaptive_payment-0.1.0 | lib/tasks/spree_paypal_adaptive_payment.rake |