Sha256: 4617fd90f32b2f4a059ea135ea7473eeac1c3f4770dd2c351f6bab3eb30a7345

Contents?: true

Size: 604 Bytes

Versions: 5

Compression:

Stored size: 604 Bytes

Contents

require 'bundler'
require 'rake/clean'
require 'rake/testtask'
require 'cucumber'
require 'cucumber/rake/task'
require 'rdoc/task'

include Rake::DSL

Bundler::GemHelper.install_tasks

Rake::TestTask.new do |t|
  t.pattern = 'test/tc_*.rb'
end

CUKE_RESULTS = 'results.html'
CLEAN << CUKE_RESULTS
Cucumber::Rake::Task.new(:features) do |t|
  t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} --format progress -x"
  t.fork = false
end

Rake::RDocTask.new do |rd|
  rd.main = "README.rdoc"
  rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
methadone-0.3.0 templates/full/Rakefile.erb
methadone-0.2.0 templates/full/Rakefile.erb
methadone-0.1.0 templates/full/Rakefile.erb
methadone-0.0.2 templates/full/Rakefile.erb
methadone-0.0.1 templates/full/Rakefile.erb