crispgm/caravan

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

Summary

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

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