crispgm/caravan

View on GitHub
lib/caravan/deploy_methods/scp.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
require "caravan/deploy"

module Caravan
  module DeployMethods
    class Scp < Deploy::Base
      def run
        super do |s, d|
          Caravan::Command.run("scp -r #{s} #{d}", @debug)
        end
      end
    end
  end
end