Sha256: 4d1add0db9b5d2b9040216ab1e96a2ac6d6c6afbfa20561ead221800441a0ad3

Contents?: true

Size: 265 Bytes

Versions: 34

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Generators
    # Generates Guard support.
    class Guard < Base
      def run
        return unless configuration.dig :generate, :guard

        template "%gem_name%/Guardfile.tt"
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
gemsmith-15.5.0 lib/gemsmith/generators/guard.rb
gemsmith-15.4.0 lib/gemsmith/generators/guard.rb
gemsmith-15.3.0 lib/gemsmith/generators/guard.rb
gemsmith-15.2.0 lib/gemsmith/generators/guard.rb
gemsmith-15.1.1 lib/gemsmith/generators/guard.rb
gemsmith-15.1.0 lib/gemsmith/generators/guard.rb
gemsmith-15.0.0 lib/gemsmith/generators/guard.rb
gemsmith-14.11.0 lib/gemsmith/generators/guard.rb
gemsmith-14.10.1 lib/gemsmith/generators/guard.rb
gemsmith-14.10.0 lib/gemsmith/generators/guard.rb
gemsmith-14.9.0 lib/gemsmith/generators/guard.rb
gemsmith-14.8.0 lib/gemsmith/generators/guard.rb
gemsmith-14.7.0 lib/gemsmith/generators/guard.rb
gemsmith-14.6.0 lib/gemsmith/generators/guard.rb
gemsmith-14.5.0 lib/gemsmith/generators/guard.rb
gemsmith-14.4.0 lib/gemsmith/generators/guard.rb
gemsmith-14.3.0 lib/gemsmith/generators/guard.rb
gemsmith-14.2.0 lib/gemsmith/generators/guard.rb
gemsmith-14.1.3 lib/gemsmith/generators/guard.rb
gemsmith-14.1.2 lib/gemsmith/generators/guard.rb