Sha256: 1deb1200c803a1634f2feada00db182070cff6b88523060b7dc3291a7087337f

Contents?: true

Size: 313 Bytes

Versions: 47

Compression:

Stored size: 313 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  define_recipe :stages do |*stages|
    
    set :stages, stages.flatten unless exists?(:stages) && !stages.empty?
    
    unless exists?(:default_stage)
      set :default_stage,     :staging
    end
    
    require 'capistrano/ext/multistage'
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
fdlcap-0.3.35 lib/fdlcap/recipes/stages.rb
fdlcap-0.3.34 lib/fdlcap/recipes/stages.rb
fdlcap-0.3.33 lib/fdlcap/recipes/stages.rb
fdlcap-0.3.31 lib/fdlcap/recipes/stages.rb
fdlcap-0.3.30 lib/fdlcap/recipes/stages.rb
fdlcap-0.3.29 lib/fdlcap/recipes/stages.rb
fdlcap-0.3.28 lib/fdlcap/recipes/stages.rb