Sha256: 47661252e82f9edac2fb6d555a8d0c681dc110adf53b49bcf10d6cfdf7f70f1c

Contents?: true

Size: 714 Bytes

Versions: 5

Compression:

Stored size: 714 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 pretty --no-source -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

5 entries across 5 versions & 1 rubygems

Version Path
methadone-1.0.0 templates/full/Rakefile.erb
methadone-1.0.0.rc6 templates/full/Rakefile.erb
methadone-1.0.0.rc5 templates/full/Rakefile.erb
methadone-1.0.0.rc4 templates/full/Rakefile.erb
methadone-1.0.0.rc3 templates/full/Rakefile.erb