PHP 8.2.31
Preview: publish.rake Size: 427 B
/proc/thread-self/root/opt/alt/ruby23/lib64/ruby/gems/2.3.0/gems/rake-10.4.2/rakelib/publish.rake

# Optional publish task for Rake

begin
  require 'rake/contrib/sshpublisher'
  require 'rake/contrib/rubyforgepublisher'

  publisher = Rake::SshDirPublisher.new(
    'linode',
    'htdocs/software/rake',
    'html')

  desc "Publish the Documentation to RubyForge."
  task :publish => [:rdoc] do
    publisher.upload
  end

rescue LoadError => ex
  puts "#{ex.message} (#{ex.class})"
  puts "No Publisher Task Available"
end

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
427 B lrw-r--r-- 2018-10-17 15:38:42
Edit Download
607 B lrw-r--r-- 2018-10-17 15:38:42
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).