Skip to content
Newer
Older
100644 20 lines (16 sloc) 541 Bytes
56ebb74 @atmos initial import of the sinatra extension to use github auth
authored Jun 1, 2010
1 require 'rake/gempackagetask'
2 require 'rubygems/specification'
3 require 'date'
5bb5cb6 @atmos update to a newer version of warden-github
authored Jan 7, 2012
4 require 'bundler/setup'
56ebb74 @atmos initial import of the sinatra extension to use github auth
authored Jun 1, 2010
5
6 task :default => [:spec]
7
8 require 'spec/rake/spectask'
9 desc "Run specs"
10 Spec::Rake::SpecTask.new do |t|
11 t.spec_files = FileList['spec/**/*_spec.rb']
12 t.spec_opts = %w(-fs --color)
13 t.spec_opts << '--loadby' << 'random'
14
15 t.rcov_opts << '--exclude' << 'spec,.bundle'
16 t.rcov = ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true
17 t.rcov_opts << '--text-summary'
18 t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse'
19 end
Something went wrong with that request. Please try again.