Sha256: b99e61c053f096beb713d884bcdcd7cf19d96eeb3aed64b970495a0e8423fcff
Contents?: true
Size: 589 Bytes
Versions: 4
Compression:
Stored size: 589 Bytes
Contents
# frozen_string_literal: true module Rubysmith module Builders # Builds project skeleton Circle CI configuration. class CircleCI def self.call(...) = new(...).call def initialize configuration, builder: Builder @configuration = configuration @builder = builder end def call return unless configuration.build_circle_ci builder.call(configuration.with(template_path: "%project_name%/.circleci/config.yml.erb")) .render end private attr_reader :configuration, :builder end end end
Version data entries
4 entries across 4 versions & 1 rubygems