Class: CapistranoDeployGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- CapistranoDeployGenerator
- Defined in:
- lib/generators/capistrano_deploy/config.rb,
lib/generators/capistrano_deploy/version.rb,
lib/generators/capistrano_deploy/lib/helpers.rb,
lib/generators/capistrano_deploy/capistrano_deploy_generator.rb
Constant Summary collapse
- SUBMODULES =
{ recipes: "[email protected]:dmytro/capistrano-recipes.git", :"chef-solo" => "[email protected]:dmytro/chef-solo.git" }
- VERSION =
'0.0.5'
Instance Method Summary collapse
Instance Method Details
#runner ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/generators/capistrano_deploy/capistrano_deploy_generator.rb', line 10 def runner case file_name.to_sym when :capify then capify when :modules then install_submodules when :deploy then create_deploy when :all capify install_submodules create_deploy end end |