Rakefile in auser-poolparty-1.1.5 vs Rakefile in auser-poolparty-1.1.6
- old
+ new
@@ -1,6 +1,13 @@
require 'config/requirements'
+
+begin
+ require 'hanna/rdoctask'
+rescue Exception => e
+ require "rake/rdoctask"
+end
+
require 'config/jeweler' # setup gem configuration
Dir['tasks/**/*.rake'].each { |rake| load rake }
desc "Clean tmp directory"
@@ -40,6 +47,15 @@
desc "Build and install the gem only if the specs pass"
task :test_then_install => [:spec, :install]
end
-task :release => [:update_timestamp]
+task :release => [:update_timestamp]
+
+
+# Generate documentation
+Rake::RDocTask.new do |rd|
+ rd.main = "Readme.txt"
+ rd.rdoc_files.include("Readme.txt", "lib/**/*.rb")
+ rd.rdoc_dir = "rdoc"
+ # rd.template = "hanaa"
+end
\ No newline at end of file