Sha256: 3a043a9f0fc5142c6382a58d85aa5b65238d6a36e739bc18705d9da50b40983e

Contents?: true

Size: 658 Bytes

Versions: 2

Compression:

Stored size: 658 Bytes

Contents

require 'bundler/gem_tasks'
require 'appraisal'
require 'cucumber/rake/task'
require 'rspec/core/rake_task'
require 'yard'

desc 'Default: run the specs and features.'
task :default => :spec do
  system "rake -s appraisal cucumber;"
end

desc 'Test the copycopter_client plugin.'
RSpec::Core::RakeTask.new do |t|
  t.rspec_opts = ['--color', "--format progress"]
  t.pattern = 'spec/copycopter_client/**/*_spec.rb'
end

desc "Run cucumber features"
Cucumber::Rake::Task.new do |t|
  t.cucumber_opts = [
    '--tags', '~@wip',
    '--format', (ENV['CUCUMBER_FORMAT'] || 'progress')
  ]
end

YARD::Rake::YardocTask.new do |t|
  t.files   = ['lib/**/*.rb']
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
copycopter_client-2.0.1 Rakefile
copycopter_client-2.0.0 Rakefile