Sha256: 19638d0fda87f622dcfd26fbf30336ba1d6307415167c956c3430f0171f3fab8

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Generators
    # Generates Git Lint support.
    class GitLint < Base
      def run
        return unless configuration.dig :generate, :git_lint

        cli.uncomment_lines "#{gem_name}/Rakefile", %r(require.+git/lint.+)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemsmith-14.2.0 lib/gemsmith/generators/git_lint.rb