Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (27 sloc) 0.875 kb
require 'bundler'
require 'bundler/setup'
Bundler::GemHelper.install_tasks
require 'rake'
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec) do |t|
t.verbose = false
t.rspec_opts = %w[--format progress] if ENV['FULL_BUILD']
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
Jump to Line
Something went wrong with that request. Please try again.