impressionist/Rakefile

21 lines
402 B
Ruby
Raw Normal View History

2012-03-12 01:38:05 +00:00
require 'bundler/setup'
require 'rspec'
2012-03-12 01:38:05 +00:00
require 'rspec/core/rake_task'
2013-07-11 03:00:06 +00:00
require 'rake/testtask'
2012-03-12 01:38:05 +00:00
2011-02-04 04:13:41 +00:00
RSpec::Core::RakeTask.new(:spec)
task default: :spec
2011-02-04 04:13:41 +00:00
Bundler::GemHelper.install_tasks
2011-02-04 04:13:41 +00:00
namespace :impressionist do
require "#{File.dirname(__FILE__)}/lib/impressionist/bots"
2011-11-28 02:56:44 +00:00
2011-02-04 04:13:41 +00:00
desc "output the list of bots from http://www.user-agents.org/"
2011-11-28 02:56:44 +00:00
task :bots do
2011-02-04 04:13:41 +00:00
p Impressionist::Bots.consume
end
2012-03-06 22:20:22 +00:00
end