Sha256: 1c3c43f590d8e34879216dc57cdf60d046516e46d349128481281cde88706395

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

recipe :capistrano do
  description 'This will add remote multi-server automation tool'
  after :rspec
  
  ask "Would you like to deploy project with Capistrano?" do
    gem 'capistrano'

    # TODO: Copy deploy.rb
    after_install do
      capify!
      remove_file "config/deploy.rb"
      template    "deploy.rb", "config/deploy.rb"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playmo-0.1.2 recipes/capistrano_recipe.rb
playmo-0.1.1 lib/playmo/recipes/capistrano_recipe.rb
playmo-0.1.0 lib/playmo/recipes/capistrano_recipe.rb