Sha256: 9254c975dee75671eb98369aa1d3e4ea64b153a74885fe9f65a7f6fd703396b1
Contents?: true
Size: 576 Bytes
Versions: 5
Compression:
Stored size: 576 Bytes
Contents
require "bundler/gem_tasks" require 'rcov/rcovtask' if RUBY_VERSION < '1.9' 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:rcov') do |t| t.pattern = 'spec/**/*_spec.rb' t.rcov = true t.rcov_opts = ['--exclude', 'spec/,/gems/'] 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rake-builder-0.10.1 | Rakefile |
rake-builder-0.9.2 | Rakefile |
rake-builder-0.9.1 | Rakefile |
rake-builder-0.9.0 | Rakefile |
rake-builder-0.8.0 | Rakefile |