Permalink
Browse files

Remove asset installation rake task. Fixes Issue #7

  • Loading branch information...
1 parent b845ab7 commit 92463f4c0f2a683508cc34e3d4eb9069d8e9089c @joshmcarthur committed Oct 4, 2011
Showing with 0 additions and 9 deletions.
  1. +0 −9 lib/tasks/install.rake
View
@@ -2,7 +2,6 @@ namespace :import_products do
desc "Copies all migrations and assets (NOTE: This will be obsolete with Rails 3.1)"
task :install do
Rake::Task['import_products:install:migrations'].invoke
- Rake::Task['import_products:install:assets'].invoke
end
namespace :install do
@@ -15,14 +14,6 @@ namespace :import_products do
puts "NOTE: This extensions uses delayed job - you need to generate additional migrations for" +
" this gem by executing `rails generate delayed_job_migrations'"
- 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

0 comments on commit 92463f4

Please sign in to comment.