Sha256: c6e9a17d47c6c4be70cf32d61c1b1aaf8d7560683e11eba62487daa5e41c5c9c

Contents?: true

Size: 656 Bytes

Versions: 1

Compression:

Stored size: 656 Bytes

Contents

require 'bundler'
require 'rake/clean'
require 'rake/testtask'
gem 'rdoc' # I need to use the installed RDoc gem, not what comes with the system
require 'rdoc/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/bootstrap.rb','test/test_*.rb']
end

desc 'build rdoc'
RDoc::Task.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'
  rd.markup = "tomdoc"
end
CLOBBER << 'coverage'

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_unit-given-0.1.0 Rakefile