Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 472 Bytes
$:.unshift(File.dirname(__FILE__) + '/../../rspec/lib')
require 'rubygems'
require 'spec/rake/spectask'
desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['support/spec/**/*_spec.rb']
t.rcov = true
t.spec_opts = ['--colour', '--diff']
t.rcov_opts = ['--exclude', 'TextMate.app,gem,rspec\/plugins,rspec\/lib\/spec,spec\/spec,fixtures,bin\/spec']
end
task :default => :spec
Dir['support/bundle_tasks/**/*.rake'].each { |rake| load rake }