Sha256: 84b01af9c997e4c5f9e13e5cafa877d1808774db992f1612474338b39d1ed6ab
Contents?: true
Size: 584 Bytes
Versions: 4
Compression:
Stored size: 584 Bytes
Contents
namespace :spree_active_sale do desc "Copies all migrations and assets" task :install do Rake::Task['spree_active_sale:install:migrations'].invoke Rake::Task['spree_active_sale:install:assets'].invoke end namespace :install do desc "Copies all assets to the application" task :assets do source = File.join(File.dirname(__FILE__), '..', '..', 'app', 'assets') destination = File.join(Rails.root, 'app', 'assets') puts "INFO: Mirroring assets from #{source} to #{destination}" `rails generate spree_active_sale:assets` end end end
Version data entries
4 entries across 4 versions & 1 rubygems