Class: Rubysmith::Builders::CircleCI
- Defined in:
- lib/rubysmith/builders/circle_ci.rb
Overview
Builds project skeleton Circle CI configuration.
Instance Method Summary collapse
Methods inherited from Abstract
Constructor Details
This class inherits a constructor from Rubysmith::Builders::Abstract
Instance Method Details
#call ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/rubysmith/builders/circle_ci.rb', line 11 def call return false unless settings.build_circle_ci builder.call(settings.merge(template_path: "%project_name%/.circleci/config.yml.erb")) .render .replace(/\n\n\Z/, "\n") true end |