* Added rdoc-generation to the cruise task and the artifacts that get saved

* Added Darkfish external and fixed up the RDoc generation task to use it
 * Factored out the config-file reading from #owner into a generic config reader, and then added some
   methods to access config values
 * Fixed the message-file sort block
 * Added a DRb service daemon: Ezmlm::ListDaemon
This commit is contained in:
Michael Granger 2008-05-10 01:52:42 +00:00
parent 8ff689e698
commit cf10ef2d7b
5 changed files with 126 additions and 61 deletions

View file

@ -132,7 +132,7 @@ end
### 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 @@ task :cruise => [:clean, :coverage, :package] do |task|
$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