This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 527 Bytes
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rdoc/task'
desc "Default Task"
task :default => [ :test ] do |t|
t.libs << "test"
t.test_files = Dir.glob( "test/test.rb" )
t.verbose = true
end do |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "Java Objects"
rdoc.main = 'README.rdoc'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
rdoc.rdoc_files.include('README.rdoc', 'lib/**/*.rb')