Sha256: d511e4c810f96735c4dc2820fb9ca5a619852e2f3de0401932f84a49c458a3c9

Contents?: true

Size: 840 Bytes

Versions: 1

Compression:

Stored size: 840 Bytes

Contents

require 'bundler'
require 'bundler/setup'
Bundler::GemHelper.install_tasks

require 'rake'
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec) do |t|
  #t.rspec_opts = %w[--format documentation]
end

desc "Run all examples using rcov"
RSpec::Core::RakeTask.new :rcov => :cleanup_rcov_files do |t|
  t.rcov = true
  t.rcov_opts =  %[-Ilib -Ispec --exclude "spec/*,gems/*,ping,basic_object" --text-report --sort coverage --aggregate coverage.data]
end

task :cleanup_rcov_files do
  rm_rf 'coverage.data'
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new

task :default => [:spec, :cucumber]

desc "Push cukes to relishapp using the relish-client-gem"
task :relish do
  require 'vcr/version'
  sh "relish versions:add myronmarston/vcr:#{VCR.version}"
  sh "relish push vcr:#{VCR.version}"
end

task :release => :relish

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vcr-1.3.3 Rakefile