This repository has been archived by the owner. It is now read-only.
Permalink
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 ]
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = Dir.glob( "test/test.rb" )
t.verbose = true
end
RDoc::Task.new 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')
end