Sha256: d469b9e606c7de565e198b169bb62f03ae42ff6cadd2e079953d5fd37429ff88

Contents?: true

Size: 666 Bytes

Versions: 60

Compression:

Stored size: 666 Bytes

Contents

require "bundler/gem_tasks"
require 'cucumber/rake/task'
require 'cane/rake_task'
require 'tailor/rake_task'

Cucumber::Rake::Task.new(:features) do |t|
  t.cucumber_opts = ['features', '-x', '--format progress']
end

desc "Run all test suites"
task :test => [:features]

desc "Run cane to check quality metrics"
Cane::RakeTask.new do |cane|
  cane.canefile = './.cane'
end

Tailor::RakeTask.new

desc "Display LOC stats"
task :stats do
  puts "\n## Production Code Stats"
  sh "countloc -r lib"
  puts "\n## Test Code Stats"
  sh "countloc -r features"
end

desc "Run all quality tasks"
task :quality => [:cane, :tailor, :stats]

task :default => [:test, :quality]

Version data entries

60 entries across 60 versions & 14 rubygems

Version Path
busser-nose2-0.1.4 Rakefile
busser-nose2-0.1.3 Rakefile
busser-nose2-0.1.2 Rakefile
busser-nose2-0.1.1 Rakefile
busser-nose2-0.1.0 Rakefile
busser-nose2-0.1.0.dev Rakefile
busser-0.6.2 templates/plugin/Rakefile.erb
busser-0.6.1 templates/plugin/Rakefile.erb
busser-rspec-0.7.4 Rakefile
busser-rspec-0.7.3 Rakefile
busser-rspec-0.7.2 Rakefile
busser-rspec-0.7.1 Rakefile
busser-0.6.0 templates/plugin/Rakefile.erb
busser-0.6.0.beta.1 templates/plugin/Rakefile.erb
busser-0.5.0 templates/plugin/Rakefile.erb
busser-shpec-0.1.0 Rakefile
busser-shpec-0.1.0.dev Rakefile
busser-rspec-0.7.0 Rakefile
busser-rspec-0.6.0 Rakefile
busser-rspec-0.5.0 Rakefile