Sha256: 17cb219f1dbcd17a8014998cdf106208cc86593f193721df650b8ec9f514d90c

Contents?: true

Size: 951 Bytes

Versions: 34

Compression:

Stored size: 951 Bytes

Contents

require "capistrano/doctor"
require "capistrano/immutable_task"
include Capistrano::DSL

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

require "airbrussh/capistrano"
# We don't need to show the "using Airbrussh" banner announcement since
# Airbrussh is now the built-in formatter. Also enable command output by
# default; hiding the output might be confusing to users new to Capistrano.
Airbrussh.configure do |airbrussh|
  airbrussh.banner = false
  airbrussh.command_output = true
end

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

    invoke "load:defaults"
    Rake.application["load:defaults"].extend(Capistrano::ImmutableTask)
    env.variables.untrusted! do
      load deploy_config_path
      load stage_config_path.join("#{stage}.rb")
    end
    configure_scm
    I18n.locale = fetch(:locale, :en)
    configure_backend
  end
end

require "capistrano/dotfile"

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
capistrano-3.19.2 lib/capistrano/setup.rb
capistrano-3.19.1 lib/capistrano/setup.rb
capistrano-3.19.0 lib/capistrano/setup.rb
capistrano-3.18.1 lib/capistrano/setup.rb
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/capistrano-3.18.0/lib/capistrano/setup.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/capistrano-3.18.0/lib/capistrano/setup.rb
capistrano-3.18.0 lib/capistrano/setup.rb
capistrano-3.17.3 lib/capistrano/setup.rb
capistrano-3.17.2 lib/capistrano/setup.rb
capistrano-3.17.1 lib/capistrano/setup.rb
capistrano-3.17.0 lib/capistrano/setup.rb
capistrano-3.16.0 lib/capistrano/setup.rb
capistrano-3.15.0 lib/capistrano/setup.rb
capistrano-3.14.1 lib/capistrano/setup.rb
capistrano-3.14.0 lib/capistrano/setup.rb
capistrano-3.13.0 lib/capistrano/setup.rb
capistrano-3.12.1 lib/capistrano/setup.rb
capistrano-3.12.0 lib/capistrano/setup.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/capistrano-3.11.0/lib/capistrano/setup.rb
capistrano-3.11.2 lib/capistrano/setup.rb