impress/lib/tasks/items_spider_mall.rake

12 lines
358 B
Ruby
Raw Normal View History

namespace :items do
desc "Spider NC Mall for wearable items, and store them for later asset spidering"
task :spider_mall => :environment do
Item.spider_mall!
end
2010-11-27 15:41:06 -08:00
desc "Spider NC Mall for assets for NC Mall items we've already collected"
task :spider_mall_assets => :environment do
Item.spider_mall_assets!(ENV['LIMIT'] || 100)
end
end