require 'rake/testtask' require 'yard' Rake::TestTask.new do |t| t.libs.push "lib" t.test_files = FileList[File.expand_path('../test/**/*_test.rb', __FILE__)] t.verbose = true end desc "Generate documentation for the Padrino framework" task :doc do YARD::CLI::Yardoc.new.run end