mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Added back require rake/rdoctask
This commit is contained in:
13
Rakefile
13
Rakefile
@@ -2,6 +2,7 @@
|
|||||||
# -*- ruby -*-
|
# -*- ruby -*-
|
||||||
|
|
||||||
require 'rake/clean'
|
require 'rake/clean'
|
||||||
|
require 'rake/rdoctask'
|
||||||
|
|
||||||
SRC_DIR = 'src'
|
SRC_DIR = 'src'
|
||||||
PROB_DIR = 'koans'
|
PROB_DIR = 'koans'
|
||||||
@@ -49,6 +50,18 @@ module Koans
|
|||||||
end
|
end
|
||||||
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 DIST_DIR
|
||||||
directory PROB_DIR
|
directory PROB_DIR
|
||||||
directory SOLUTION_DIR
|
directory SOLUTION_DIR
|
||||||
|
|||||||
Reference in New Issue
Block a user