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