Sha256: 6da183535829ab394d165456bc7011ca547a11ad05195d821933a8f3a1b13945

Contents?: true

Size: 350 Bytes

Versions: 12

Compression:

Stored size: 350 Bytes

Contents

include Capistrano::DSL

load 'capistrano/defaults.rb'

stages.each do |stage|
  Rake::Task.define_task(stage) do
    load "config/deploy.rb"
    load "config/deploy/#{stage}.rb"
    load "capistrano/#{fetch(:scm)}.rb"
    set(:stage, stage.to_sym)
    I18n.locale = fetch(:locale, :en)
    configure_backend
  end
end


require 'capistrano/dotfile'

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
capistrano-3.0.0.pre14 lib/capistrano/setup.rb
capistrano-3.0.0.pre13 lib/capistrano/setup.rb
capistrano-3.0.0.pre12 lib/capistrano/setup.rb
capistrano-3.0.0.pre11 lib/capistrano/setup.rb
capistrano-3.0.0.pre10 lib/capistrano/setup.rb
capistrano-3.0.0.pre7 lib/capistrano/setup.rb
capistrano-3.0.0.pre6 lib/capistrano/setup.rb
capistrano-3.0.0.pre5 lib/capistrano/setup.rb
capistrano-3.0.0.pre4 lib/capistrano/setup.rb
capistrano-3.0.0.pre3 lib/capistrano/setup.rb
capistrano-3.0.0.pre2 lib/capistrano/setup.rb
capistrano-3.0.0.pre lib/capistrano/setup.rb