require 'rubygems' require 'rake' require 'rake/clean' require 'rake/gempackagetask' require 'rake/rdoctask' require 'rake/testtask' Rake::GemPackageTask.new(spec) do |p| p.gem_spec = spec p.need_tar = true p.need_zip = true end #Rake::RDocTask.new do |rdoc| # files =['README.md', 'LICENSE', 'lib/**/*.rb', 'lib/**/*.yml'] # rdoc.rdoc_files.add(files) # rdoc.main = "README" # page to start on # rdoc.title = "RubMat Docs" # rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder # rdoc.options << '--line-numbers' #end Rake::TestTask.new do |t| t.test_files = FileList['test/**/*.rb'] end