Parent

Methods

SshDirPublisher

Publish an entire directory to an existing remote directory using SSH.

Public Class Methods

new(host, remote_dir, local_dir) click to toggle source
    # File lib/rake/contrib/publisher.rb, line 39
39:   def initialize(host, remote_dir, local_dir)
40:     @host = host
41:     @remote_dir = remote_dir
42:     @local_dir = local_dir
43:   end

Public Instance Methods

upload() click to toggle source
    # File lib/rake/contrib/publisher.rb, line 45
45:   def upload
46:     run %{scp -rq #{@local_dir}/* #{@host}:#{@remote_dir}}
47:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.