Sha256: a41787bed274a244b90b3d071e2bd6febdd7179fa1a84647add0744e7d347c55

Contents?: true

Size: 440 Bytes

Versions: 12

Compression:

Stored size: 440 Bytes

Contents

include Capistrano::DSL

namespace :load do
  task :defaults do
    load 'capistrano/defaults.rb'
  end
end

stages.each do |stage|
  Rake::Task.define_task(stage) do
    set(:stage, stage.to_sym)

    invoke 'load:defaults'
    load deploy_config_path
    load stage_config_path.join("#{stage}.rb")
    load "capistrano/#{fetch(:scm)}.rb"
    I18n.locale = fetch(:locale, :en)
    configure_backend
  end
end

require 'capistrano/dotfile'

Version data entries

12 entries across 10 versions & 3 rubygems

Version Path
capistrano-3.4.1 lib/capistrano/setup.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/capistrano-3.2.1/lib/capistrano/setup.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/capistrano-3.2.1/lib/capistrano/setup.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/capistrano-3.2.1/lib/capistrano/setup.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/capistrano-3.4.0/lib/capistrano/setup.rb
capistrano-3.4.0 lib/capistrano/setup.rb
capistrano-3.3.5 lib/capistrano/setup.rb
capistrano-3.3.4 lib/capistrano/setup.rb
capistrano-3.3.3 lib/capistrano/setup.rb
capistrano-3.2.1 lib/capistrano/setup.rb
capistrano-3.2.0 lib/capistrano/setup.rb
capistrano-3.1.0 lib/capistrano/setup.rb