Sha256: ce78999beedd808d7c78254dfb3b528dca801fe19388a7f6cc6351d74a1802ed

Contents?: true

Size: 686 Bytes

Versions: 5

Compression:

Stored size: 686 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.ruby_opts << "-rrubygems"
  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

5 entries across 5 versions & 1 rubygems

Version Path
test_unit-given-0.9.3 Rakefile
test_unit-given-0.9.2 Rakefile
test_unit-given-0.9.1 Rakefile
test_unit-given-0.9.0 Rakefile
test_unit-given-0.1.1 Rakefile