Skip to content
Browse files

Publishing rdoc on release

  • Loading branch information...
1 parent 2660610 commit f01e1e49cb055a9e87c5b7f332dc19686b681df8 Martin Kleppmann committed Apr 20, 2009
Showing with 4 additions and 0 deletions.
  1. +1 −0 invoicing/Rakefile
  2. +3 −0 release.sh
View
1 invoicing/Rakefile
@@ -28,6 +28,7 @@ $hoe = Hoe.new('invoicing', Invoicing::VERSION) do |p|
p.test_globs = %w[test/*_test.rb] # do not include test/models/*.rb
p.clean_globs |= %w[**/.DS_Store tmp *.log coverage]
p.rsync_args = '-av --delete --ignore-errors'
+ p.remote_rdoc_dir = 'doc'
end
require 'newgem/tasks' # load /tasks/*.rake
View
3 release.sh
@@ -20,3 +20,6 @@ git push github
git push rubyforge
git push --tags github
git push --tags rubyforge
+
+# Build docs and upload them
+(cd invoicing; rake docs; rsync -av --delete --ignore-errors doc/ ept@rubyforge.org:/var/www/gforge-projects/invoicing/doc)

0 comments on commit f01e1e4

Please sign in to comment.
Something went wrong with that request. Please try again.