PageRenderTime 48ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/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
Possible License(s): Apache-2.0
  1. # Optional publish task for Rake
  2. require 'rake/contrib/sshpublisher'
  3. require 'rake/contrib/rubyforgepublisher'
  4. publisher = Rake::CompositePublisher.new
  5. publisher.add Rake::RubyForgePublisher.new('builder', 'jimweirich')
  6. publisher.add Rake::SshFilePublisher.new(
  7. 'umlcoop',
  8. 'htdocs/software/builder',
  9. '.',
  10. 'builder.blurb')
  11. desc "Publish the Documentation to RubyForge."
  12. task :publish => [:rdoc] do
  13. publisher.upload
  14. end