Class: Kitchen::Generator::Init
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Kitchen::Generator::Init
- Includes:
- Thor::Actions
- Defined in:
- lib/kitchen/generator/init.rb
Overview
A project initialization generator, to help prepare a cookbook project for testing with Kitchen.
Instance Method Summary collapse
-
#init ⇒ Object
Invoke the command.
Instance Method Details
#init ⇒ Object
Invoke the command.
56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/kitchen/generator/init.rb', line 56 def init self.class.source_root(Kitchen.source_root.join("templates", "init")) create_kitchen_yaml create_chefignore prepare_rakefile prepare_thorfile create_test_dir prepare_gitignore prepare_gemfile end |