Skip to content

Commit

Permalink
Removing unnecessary (and undefined) import_products:install:config r…
Browse files Browse the repository at this point in the history
…ake task
  • Loading branch information
joshmcarthur committed Apr 2, 2011
1 parent e2e1948 commit 666a68c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/tasks/install.rake
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace :import_products do
task :install do task :install do
Rake::Task['import_products:install:migrations'].invoke Rake::Task['import_products:install:migrations'].invoke
Rake::Task['import_products:install:assets'].invoke Rake::Task['import_products:install:assets'].invoke
Rake::Task['import_products:install:config'].invoke
end end


namespace :install do namespace :install do
Expand All @@ -18,15 +17,6 @@ namespace :import_products do
" this gem by executing `rails generate delayed_job_migrations'" " this gem by executing `rails generate delayed_job_migrations'"
end 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)" desc "Copies all assets (NOTE: This will be obsolete with Rails 3.1)"
task :assets do task :assets do
source = File.join(File.dirname(__FILE__), '..', '..', 'public') source = File.join(File.dirname(__FILE__), '..', '..', 'public')
Expand Down

0 comments on commit 666a68c

Please sign in to comment.