Sha256: b401686ecc838647fda658390f5d7dcc58a8e5ce7909132ed60fb46fbe1de697

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 Bytes

Contents

begin
  require 'rspec'
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new("spec") do |t|
#    t.ruby_opts = "-w"
    t.rcov = false
    t.pattern = 'spec/**/*_spec.rb' #.exclude("spec/deprecated_spec.rb", "spec/wrapper_spec.rb")
  end

  RSpec::Core::RakeTask.new("rcov") do |t|
    t.ruby_opts = "-w"
    t.rcov = true
  end
rescue LoadError
  puts "Rspec must be installed to run tests"
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jbangert-bindata-1.5.0 tasks/rspec.rake
bindata-1.5.1 tasks/rspec.rake
bindata-1.5.0 tasks/rspec.rake
bindata-1.4.5 tasks/rspec.rake
bindata-1.4.4 tasks/rspec.rake