Sha256: 2ab18baa13c9c257ab1a9a060d752613197661c0260d62818b2300fa144291eb

Contents?: true

Size: 284 Bytes

Versions: 21

Compression:

Stored size: 284 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Generators
    # Generates Guard support.
    class Guard < Base
      def run
        return unless configuration.dig(:generate, :guard)
        cli.template "%gem_name%/Guardfile.tt", configuration
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
gemsmith-11.2.0 lib/gemsmith/generators/guard.rb
gemsmith-11.1.0 lib/gemsmith/generators/guard.rb
gemsmith-11.0.1 lib/gemsmith/generators/guard.rb
gemsmith-11.0.0 lib/gemsmith/generators/guard.rb
gemsmith-10.4.2 lib/gemsmith/generators/guard.rb
gemsmith-10.4.1 lib/gemsmith/generators/guard.rb
gemsmith-10.4.0 lib/gemsmith/generators/guard.rb
gemsmith-10.3.0 lib/gemsmith/generators/guard.rb
gemsmith-10.2.0 lib/gemsmith/generators/guard.rb
gemsmith-10.1.0 lib/gemsmith/generators/guard.rb
gemsmith-10.0.0 lib/gemsmith/generators/guard.rb
gemsmith-9.6.0 lib/gemsmith/generators/guard.rb
gemsmith-9.5.0 lib/gemsmith/generators/guard.rb
gemsmith-9.4.0 lib/gemsmith/generators/guard.rb
gemsmith-9.3.0 lib/gemsmith/generators/guard.rb
gemsmith-9.2.0 lib/gemsmith/generators/guard.rb
gemsmith-9.1.0 lib/gemsmith/generators/guard.rb
gemsmith-9.0.0 lib/gemsmith/generators/guard.rb
gemsmith-8.2.0 lib/gemsmith/generators/guard.rb
gemsmith-8.1.0 lib/gemsmith/generators/guard.rb