From c651dd5eba0afba9eb47976c54f150bc76b06390 Mon Sep 17 00:00:00 2001 From: Jim Weirich Date: Mon, 21 Dec 2009 15:07:03 -0500 Subject: [PATCH] Added back require rake/rdoctask --- Rakefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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