Added back require rake/rdoctask
This commit is contained in:
13
Rakefile
13
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
|
||||
|
||||
Reference in New Issue
Block a user