Sha256: 637c199726cb9b32f0939b680ef58793574fb42411fa4ab56cce9417f39d02df
Contents?: true
Size: 785 Bytes
Versions: 2
Compression:
Stored size: 785 Bytes
Contents
require 'bundler' require 'rake/clean' require 'rake/testtask' gem 'rdoc' require 'rdoc/task' require 'cucumber' require 'cucumber/rake/task' include Rake::DSL Bundler::GemHelper.install_tasks desc 'run tests' Rake::TestTask.new do |t| t.libs << "lib" t.libs << "test" t.test_files = FileList['test/test_*.rb'] end desc 'build rdoc' Rake::RDocTask.new do |rd| rd.main = "README.rdoc" rd.generator = 'hanna' rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*") rd.title = 'Methadone - Power Up your Command Line Apps' 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 -x" t.fork = false end task :default => [:test, :features]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
methadone-0.0.2 | Rakefile |
methadone-0.0.1 | Rakefile |