Permalink
Browse files

Removing unnecessary (and undefined) import_products:install:config r…

…ake task
  • Loading branch information...
1 parent e2e1948 commit 666a68cc1ec9d0e1b0c8c6c83f20aa684a5c8c92 @joshmcarthur joshmcarthur committed Apr 2, 2011
Showing with 0 additions and 10 deletions.
  1. +0 −10 lib/tasks/install.rake
View
@@ -3,7 +3,6 @@ namespace :import_products do
task :install do
Rake::Task['import_products:install:migrations'].invoke
Rake::Task['import_products:install:assets'].invoke
- Rake::Task['import_products:install:config'].invoke
end
namespace :install do
@@ -18,15 +17,6 @@ namespace :import_products do
" this gem by executing `rails generate delayed_job_migrations'"
end
-## I want to move ahead with same configuration we have in the spree-import-products gem
-# desc "Copies import products config (NOTE: I don't know what this will do in Rails 3.1)"
-# task :config do
-# source = File.join(File.dirname(__FILE__), '..', '..', 'config', 'initializers', 'import_product_settings.rb')
-# destination = File.join(Rails.root, 'config', 'initializers', 'import_product_settings.rb')
-# puts "INFO: Mirroring assets from #{source} to #{destination}"
-# 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')

0 comments on commit 666a68c

Please sign in to comment.