Method: Orchestration::InstallGenerator#gitignore
- Defined in:
- lib/orchestration/install_generator.rb
#gitignore ⇒ Object
45 46 47 48 49 50 51 52 53 54 |
# File 'lib/orchestration/install_generator.rb', line 45 def gitignore path = Rails.root.join('.gitignore') entries = [ 'docker/.build', 'docker/Gemfile', 'docker/Gemfile.lock', 'docker/*.gemspec' ].map { |entry| "#{entry} # Orchestration" } ensure_lines_in_file(path, entries) end |