public
Description: Like a modern code version of the mythical beast with 100 serpent heads, Typhoeus runs HTTP requests in parallel while cleanly encapsulating handling logic.
Homepage:
Clone URL: git://github.com/pauldix/typhoeus.git
typhoeus / Rakefile
100644 18 lines (14 sloc) 0.415 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require "spec"
require "spec/rake/spectask"
require 'lib/typhoeus.rb'
 
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
  t.spec_files = FileList['spec/**/*_spec.rb']
end
 
task :install do
  rm_rf "*.gem"
  puts `gem build typhoeus.gemspec`
  puts `sudo gem install typhoeus-#{Typhoeus::VERSION}.gem`
end
 
desc "Run all the tests"
task :default => :spec