Added back require rake/rdoctask

This commit is contained in:
Jim Weirich
2009-12-21 15:07:03 -05:00
parent 508a1d812e
commit c651dd5eba

View File

@@ -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