require 'rake/clean' require 'rubygems' require 'rake/gempackagetask' require 'rdoc/task' Rake::RDocTask.new do |rd| rd.main = "README.rdoc" rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*") rd.title = 'Your application title' end spec = eval(File.read('todo.gemspec')) Rake::GemPackageTask.new(spec) do |pkg| end require 'rake/testtask' Rake::TestTask.new do |t| t.libs << "test" t.test_files = FileList['test/tc_*.rb'] end task :default => :test