Class: CapRecipes::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/cap_recipes/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_recipesObject



10
11
12
13
14
15
16
# File 'lib/generators/cap_recipes/install/install_generator.rb', line 10

def copy_recipes
  say_status("copying", "Capistrano Recipes to config/recipes", :green)
  directory("recipes", "config/recipes")

  say_status("copying", "A default capistrano deploy script to config/deply.rb", :green)
  copy_file("deploy.rb", "config/deploy.rb")
end