Sha256: d46e5f14abbe80c64bf800d02e5956f02934f4cd61305f524cf02bfa4509a94f
Contents?: true
Size: 572 Bytes
Versions: 11
Compression:
Stored size: 572 Bytes
Contents
#!/usr/bin/env rake require 'bundler/gem_tasks' require 'rspec/core/rake_task' task :default => :spec RSpec::Core::RakeTask.new do | t | t.pattern = 'spec/**/*_spec.rb' end if RUBY_VERSION < '1.9' RSpec::Core::RakeTask.new( 'spec:coverage' ) do |t| t.pattern = 'spec/**/*_spec.rb' t.rcov = true t.rcov_opts = [ '--exclude', 'spec/,/gems/,vendor/' ] end else desc 'Run specs and create coverage output' RSpec::Core::RakeTask.new( 'spec:coverage' ) do |t| t.pattern = ['spec/gather_rspec_coverage.rb', 'spec/**/*_spec.rb'] end end
Version data entries
11 entries across 11 versions & 1 rubygems