Sha256: 29c833faaa124f2833868af56e32bc18b43149ca212a0777fe7b399e19b2bd9e

Contents?: true

Size: 704 Bytes

Versions: 9

Compression:

Stored size: 704 Bytes

Contents

require 'bundler'
require 'rake/clean'
require 'rake/testtask'
require 'cucumber'
require 'cucumber/rake/task'
gem 'rdoc' # we need the installed RDoc gem, not the system one
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|
  <% if using_readme %>
  rd.main = "README.rdoc"
  <% end %>
  rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
methadone-1.0.0.rc2 templates/full/Rakefile.erb
methadone-1.0.0.rc1 templates/full/Rakefile.erb
methadone-0.5.1 templates/full/Rakefile.erb
methadone-0.4.1 templates/full/Rakefile.erb
methadone-0.4.0 templates/full/Rakefile.erb
methadone-0.3.4 templates/full/Rakefile.erb
methadone-0.3.3 templates/full/Rakefile.erb
methadone-0.3.2 templates/full/Rakefile.erb
methadone-0.3.1 templates/full/Rakefile.erb