Author: donaldp
Date: Wed Nov 7 08:17:22 2012
New Revision: 1406490
URL: http://svn.apache.org/viewvc?rev=1406490&view=rev
Log:
Remove the partial publish task and document the remaining publish task
Modified:
buildr/trunk/rakelib/doc.rake
Modified: buildr/trunk/rakelib/doc.rake
URL:
http://svn.apache.org/viewvc/buildr/trunk/rakelib/doc.rake?rev=1406490&r1=1406489&r2=1406490&view=diff
==============================================================================
--- buildr/trunk/rakelib/doc.rake (original)
+++ buildr/trunk/rakelib/doc.rake Wed Nov 7 08:17:22 2012
@@ -90,6 +90,7 @@ ForceType 'text/plain; charset=UTF-8'
end
# Publish prerequisites to Web site.
+desc "Publish web site "
task 'publish' => 'site' do
target = "people.apache.org:/www/#{spec.name}.apache.org/"
puts "Uploading new site to #{target} ..."
@@ -98,16 +99,6 @@ task 'publish' => 'site' do
puts 'Done'
end
-# Update HTML + PDF documentation (but not entire site; no specs, coverage,
etc.)
-task 'publish-doc' => %w(buildr.pdf _site) do
- cp 'buildr.pdf', '_site'
- target = "people.apache.org:/www/#{spec.name}.apache.org/"
- puts "Uploading new site to #{target} ..."
- sh 'rsync', '--progress', '--recursive', '_site/', target # Note: no --delete
- sh 'ssh', 'people.apache.org', 'chmod', '-f', '-R', 'g+w',
"/www/#{spec.name}.apache.org/*"
- puts 'Done'
-end
-
task 'clobber' do
rm_rf '_site'
rm_f 'buildr.pdf'