require 'rubygems' require 'rake' require 'rake/clean' require 'rdoc/task' require 'rake/testtask' Rake::RDocTask.new do |rdoc| files =['README.rdoc', 'MIT-LICENSE', 'lib/**/*.rb'] rdoc.rdoc_files.add(files) rdoc.main = "README.rdoc" # page to start on rdoc.title = "ArrayLogic 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