Sha256: 3dbc1d73e2b8a160eae7cbd505d5460b2a3c5360f6418da94373878460bc0647

Contents?: true

Size: 634 Bytes

Versions: 39

Compression:

Stored size: 634 Bytes

Contents

module Blue
  class Setup
    def self.load(capistrano_config)
      capistrano_config.load do

        namespace :blue do
          # This task should be idempotent
          desc "Configures generic dependencies Blue depends on"
          task :install, :roles => [:ruby] do
            blue.setup.os
            blue.setup.ruby
            blue.setup.gems
          end
        end
        after 'deploy:setup', 'blue:install'
      end
    end
  end
end

if Capistrano::Configuration.instance
  Blue::Setup.load(Capistrano::Configuration.instance)
end

require 'capistrano/os'
require 'capistrano/ruby'
require 'capistrano/gems'

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
blue-0.2.7 lib/capistrano/setup.rb
blue-0.2.6 lib/capistrano/setup.rb
blue-0.2.5 lib/capistrano/setup.rb
blue-0.2.3 lib/capistrano/setup.rb
blue-0.2.2 lib/capistrano/setup.rb
blue-0.2.1 lib/capistrano/setup.rb
blue-0.2.0 lib/capistrano/setup.rb
blue-0.1.9 lib/capistrano/setup.rb
blue-0.1.8 lib/capistrano/setup.rb
blue-0.1.7 lib/capistrano/setup.rb
blue-0.1.6 lib/capistrano/setup.rb
blue-0.1.5 lib/capistrano/setup.rb
blue-0.1.4 lib/capistrano/setup.rb
blue-0.1.3 lib/capistrano/setup.rb
blue-0.1.2 lib/capistrano/setup.rb
blue-0.1.1 lib/capistrano/setup.rb
blue-0.1.pre lib/capistrano/setup.rb
blue-0.0.23 lib/capistrano/setup.rb
blue-0.0.22 lib/capistrano/setup.rb
blue-0.0.21 lib/capistrano/setup.rb