Sha256: 4eb26c967ced06056cced530386ce3a878ebca94763e62fc26f0fc7a91487052

Contents?: true

Size: 677 Bytes

Versions: 1

Compression:

Stored size: 677 Bytes

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler/setup'
require 'rake'
require 'rubygems/package_task'
require 'cucumber/rake/task'
require 'diesel/tasks'
require 'rspec/core/rake_task'
require 'appraisal'

desc "Default: run the specs and cucumber features"
task :default => [:all]

desc 'Test the plugin under all supported Rails versions.'
task :all => ["appraisal:install"] do |t|
  exec('rake appraisal spec cucumber')
end

RSpec::Core::RakeTask.new do |t|
  t.pattern = 'spec/**/*_spec.rb'
end

Cucumber::Rake::Task.new(:cucumber) do |t|
  t.fork = true
  t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
end

Bundler::GemHelper.install_tasks

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clearance-0.14.0 Rakefile