ruby/Rakefile

16 lines
331 B
Ruby

require "rdoc/task"
require 'rake/testtask'
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = "rdoc"
rdoc.title = "rdoc"
rdoc.options << "--line-numbers" << "--inline-source"
rdoc.rdoc_files.include("**/*.rb")
end
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['tests/test*.rb']
t.verbose = true
end