Sha256: 2e87a35f4fd61ee61bfd3d5c2d832d8d5a877143652d51bebff129056aed5e5f
Contents?: true
Size: 924 Bytes
Versions: 1
Compression:
Stored size: 924 Bytes
Contents
namespace :apispree_core do desc "Copies all migrations and assets (NOTE: This will be obsolete with Rails 3.1)" task :install do Rake::Task['apispree_core:install:migrations'].invoke Rake::Task['apispree_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apispree_core-0.0.0 | lib/tasks/install.rake |