Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 0.499 kb
require 'rake/rdoctask'
require 'rake/testtask'
Rake::RDocTask.new do |rd|
rd.main = "README"
rd.rdoc_dir = 'doc/tmp'
rd.rdoc_files.include('lib/**/*.rb', 'README', 'INSTALL')
rd.options << '--all --inline-source'
end
task :rdoc do
sh 'cpdup -o doc/tmp doc/rdoc'
end
Rake::TestTask.new do |t|
t.test_files = FileList['test/test*.rb']
t.verbose = true
end
task :package do
sh 'gem build wee.gemspec'
end
task :clean => [:clobber_rdoc]
task :default => [:test, :rdoc, :clean]
Jump to Line
Something went wrong with that request. Please try again.