Permalink
Browse files

Use the hanna RDoc template if available, fallback to the default tem…

…plate if not
  • Loading branch information...
1 parent 9723e62 commit 9d6e0bebb9cfd93caddd06dd34c058b1aed69f59 @jeremyevans committed Sep 11, 2008
Showing with 6 additions and 2 deletions.
  1. +6 −2 Rakefile
View
@@ -1,9 +1,13 @@
require "rake"
require "rake/clean"
require "rake/gempackagetask"
-require "rake/rdoctask"
-require "fileutils"
require "spec/rake/spectask"
+begin
+ require "hanna/rdoctask"
+rescue LoadError
+ require "rake/rdoctask"
+end
+require "fileutils"
include FileUtils

0 comments on commit 9d6e0be

Please sign in to comment.