Sha256: a59217798a62093517e994dacd819b4629d7658f6d562219a85cb60971b4bae3

Contents?: true

Size: 485 Bytes

Versions: 7

Compression:

Stored size: 485 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => :spec

desc 'Run specs'
RSpec::Core::RakeTask.new do |t|
  t.pattern = './spec/**/*_spec.rb' # don't need this, it's default.
  # Put spec opts in a file named .rspec in root
end

desc 'Generate code coverage'
RSpec::Core::RakeTask.new(:coverage) do |t|
  t.pattern = './spec/**/*_spec.rb' # don't need this, it's default.
  t.rcov = true
  t.rcov_opts = ['--exclude', 'spec']
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootstrap_forms-3.0.1 Rakefile
bootstrap_forms-3.0.0 Rakefile
bootstrap_forms-3.0.0.rc1 Rakefile
bootstrap_forms-2.1.1 Rakefile
bootstrap_forms-2.0.8 Rakefile
bootstrap_forms-2.0.6 Rakefile
bootstrap_forms-2.0.5 Rakefile