Sha256: cadc200655d50e93dbf88d6a590bcdd1dc9a4cb9ff8bb3d7f874ebe534599694

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

module Capistrano
  if const_defined? :Configuration

    Configuration.instance(true).load do
      load "deploy"
      load "deploy/assets"

      require "capistrano/ext/multistage"

      set :stages, %w(staging production)
      set :default_stage, "staging"
    end

    # Load recipes into the Capistrano::Configuration instance
    recipes = Dir[File.expand_path("../recipes/*.rb", __FILE__)]
    recipes.each do |recipe|
      Configuration.instance(true).load(recipe)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thincloud-deployment-1.0.1 lib/thincloud/capistrano.rb
thincloud-deployment-1.0.0 lib/thincloud/capistrano.rb