Sha256: 92a17bafac90af3e44158196a2084dd9b532cb1242cf165c29a8232246129aaf

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Generators
    # Generates Circle CI support.
    class CircleCI < Base
      def run
        return unless configuration.dig :generate, :circle_ci

        template "%gem_name%/.circleci/config.yml.tt"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gemsmith-15.5.0 lib/gemsmith/generators/circle_ci.rb
gemsmith-15.4.0 lib/gemsmith/generators/circle_ci.rb
gemsmith-15.3.0 lib/gemsmith/generators/circle_ci.rb
gemsmith-15.2.0 lib/gemsmith/generators/circle_ci.rb