Sha256: f4db4e9e217cfc2f40072747e5fd6bd5ad5c7090ba9f12624cad7531c60502df
Contents?: true
Size: 757 Bytes
Versions: 26
Compression:
Stored size: 757 Bytes
Contents
namespace :spree_sample do desc "Copies all migrations and assets (NOTE: This will be obsolete with Rails 3.1)" task :install do Rake::Task['spree_sample:install:migrations'].invoke Rake::Task['spree_sample: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 # No assets end end end
Version data entries
26 entries across 26 versions & 5 rubygems