1
0
Fork 0
forked from OpenNeo/impress
impress/lib/tasks/spider.rake
2012-07-24 12:05:34 -04:00

12 lines
301 B
Ruby

namespace :mall do
desc 'Spider NC Mall for new items'
task :spider_items => :environment do
Item.spider_mall!
end
desc 'Spider NC Mall for item assets'
task :spider_assets => :environment do
item_limit = ENV['ITEM_LIMIT'] || 20
Item.spider_mall_assets!(item_limit)
end
end