summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-08-19 04:15:07 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-08-19 04:15:07 +0200
commitca3f7c84d4ea242c463f8b6fff1fdd67c9960c0c (patch)
tree83ec9a4f226d679b5a560a9ccbe056b4f41f744d /Rakefile
parent359ae3472c5583cdc6f2d9966f051d87c950079e (diff)
downloadcoderay-1.0.0.815pre.tar.gz
Please, Github, use README.textile.v1.0.0.815pre
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index b0d604d..ba6c34e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -14,7 +14,7 @@ if File.directory? 'rake_tasks'
else
- # fallback tasks when rake_tasks folder is not present
+ # fallback tasks when rake_tasks folder is not present (eg. in the distribution package)
desc 'Run CodeRay tests (basic)'
task :test do
ruby './test/functional/suite.rb'
@@ -26,9 +26,9 @@ else
desc 'Generate documentation for CodeRay'
Rake::RDocTask.new :doc do |rd|
rd.title = 'CodeRay Documentation'
- rd.main = 'README.rdoc'
+ rd.main = 'README_INDEX.rdoc'
rd.rdoc_files.add Dir['lib']
- rd.rdoc_files.add 'README.rdoc'
+ rd.rdoc_files.add rd.main
rd.rdoc_dir = 'doc'
end