Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 415 Bytes
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
Something went wrong with that request. Please try again.