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