Sha256: 91b845e44d039308453fe4b6e900d0a535a41b5f4c9276a7bd1f44a2c0e34fe5
Contents?: true
Size: 538 Bytes
Versions: 18
Compression:
Stored size: 538 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Hanamismith module Builders module GitHub # Builds project skeleton GitHub CI configuration. class CI < Rubysmith::Builders::Abstract using Refinements::Struct def call return false unless settings.build_git_hub_ci path = "%project_name%/.github/workflows/ci.yml.erb" builder.call(settings.merge(template_path: path)).render.replace(/\n\n\Z/, "\n") true end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems