/tools/drillbit/Resources/tests/ruby/builder/scripts/publish.rb
http://github.com/appcelerator/titanium_desktop · Ruby · 17 lines · 13 code · 3 blank · 1 comment · 0 complexity · e87c7a2985cdf0cb555e06c83d7c09aa MD5 · raw file
- # Optional publish task for Rake
- require 'rake/contrib/sshpublisher'
- require 'rake/contrib/rubyforgepublisher'
- publisher = Rake::CompositePublisher.new
- publisher.add Rake::RubyForgePublisher.new('builder', 'jimweirich')
- publisher.add Rake::SshFilePublisher.new(
- 'umlcoop',
- 'htdocs/software/builder',
- '.',
- 'builder.blurb')
- desc "Publish the Documentation to RubyForge."
- task :publish => [:rdoc] do
- publisher.upload
- end