ruby/Rakefile

16 lines
331 B
Ruby
Raw Normal View History

2023-09-29 14:32:15 +00:00
require "rdoc/task"
2023-09-30 15:03:36 +00:00
require 'rake/testtask'
2023-09-29 14:32:15 +00:00
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = "rdoc"
rdoc.title = "rdoc"
rdoc.options << "--line-numbers" << "--inline-source"
rdoc.rdoc_files.include("**/*.rb")
end
2023-09-30 15:03:36 +00:00
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['tests/test*.rb']
t.verbose = true
end