Sha256: ca565807957f8a36bcef3f71bfb54200191847343532fed4dc0ba6e557a722f6

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

require 'alpha_omega/deploy/strategy/remote'

module Capistrano
  module Deploy
    module Strategy

      # Implements the deployment strategy which does an SCM checkout on each
      # target host. This is the default deployment strategy for Capistrano.
      class Checkout < Remote
        protected

          # Returns the SCM's checkout command for the revision to deploy.
          def commands
            @commands ||= source.checkout(revision, configuration[:current_release_path])
          end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alpha_omega-0.0.138 lib/alpha_omega/deploy/strategy/checkout.rb