summaryrefslogtreecommitdiff
path: root/rake_tasks/documentation.rake
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-06-12 01:09:36 +0000
committermurphy <murphy@rubychan.de>2011-06-12 01:09:36 +0000
commitf2ad92e0bb64a9b0ab3090b5e4faa37dc7672e4a (patch)
treea2e1e00c75c08d0e5b862e1976b2d9982d006969 /rake_tasks/documentation.rake
parentfcc956998d2142aefb9ea39ab23042cf6f324bfe (diff)
downloadcoderay-f2ad92e0bb64a9b0ab3090b5e4faa37dc7672e4a.tar.gz
more task cleanups; speedup Rakefile loading
Diffstat (limited to 'rake_tasks/documentation.rake')
-rw-r--r--rake_tasks/documentation.rake3
1 files changed, 3 insertions, 0 deletions
diff --git a/rake_tasks/documentation.rake b/rake_tasks/documentation.rake
index 162699d..16142fd 100644
--- a/rake_tasks/documentation.rake
+++ b/rake_tasks/documentation.rake
@@ -1,3 +1,6 @@
+gem 'rdoc' if defined? gem
+require 'rdoc/task'
+
desc 'Generate documentation for CodeRay'
Rake::RDocTask.new :doc do |rd|
rd.main = 'lib/README'