--- a/Rakefile Fri May 09 17:51:36 2008 +0000
+++ b/Rakefile Sat May 10 01:52:42 2008 +0000
@@ -132,7 +132,7 @@
### Cruisecontrol task
desc "Cruisecontrol build"
-task :cruise => [:clean, :coverage, :package] do |task|
+task :cruise => [:clean, :coverage, :rdoc, :package] do |task|
raise "Artifacts dir not set." if ARTIFACTS_DIR.to_s.empty?
artifact_dir = ARTIFACTS_DIR.cleanpath
artifact_dir.mkpath
@@ -140,6 +140,9 @@
$stderr.puts "Copying coverage stats..."
FileUtils.cp_r( 'coverage', artifact_dir )
+ $stderr.puts "Copying documentation..."
+ FileUtils.cp_r( 'docs/api', artifact_dir + 'rdoc' )
+
$stderr.puts "Copying packages..."
FileUtils.cp_r( FileList['pkg/*'].to_a, artifact_dir )
end