diff --git a/Rakefile b/Rakefile index 07e7f3c..b4bce19 100644 --- a/Rakefile +++ b/Rakefile @@ -2,6 +2,7 @@ # -*- ruby -*- require 'rake/clean' +require 'rake/rdoctask' SRC_DIR = 'src' PROB_DIR = 'koans' @@ -49,6 +50,18 @@ module Koans end end +task :default => :walk_the_path + +task :walk_the_path do + cd 'koans' + ruby 'path_to_enlightenment.rb' +end + +Rake::RDocTask.new do |rd| + rd.main = "README.rdoc" + rd.rdoc_files.include("README.rdoc", "koans/*.rb") +end + directory DIST_DIR directory PROB_DIR directory SOLUTION_DIR