Sha256: 5487ad352b5fd87d1d4266387b09b83dff60a628a77c171a659d46c0a6d257f8
Contents?: true
Size: 657 Bytes
Versions: 11
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Gemsmith module Builders # Builds project skeleton Circle CI settings. class CircleCI < Rubysmith::Builders::CircleCI using Refinements::Struct def call return false unless settings.build_circle_ci super builder.call(settings.merge(template_path: "%project_name%/.circleci/config.yml.erb")) .replace %({{checksum "Gemfile.lock"}}), %({{checksum "Gemfile"}}-{{checksum "#{project_name}.gemspec"}}) true end private def project_name = settings.project_name end end end
Version data entries
11 entries across 11 versions & 1 rubygems