Sha256: 15e3148e3ac3a501b8bf5b12bcca07534b8f3ff241a64e9058aa426b9029e139

Contents?: true

Size: 299 Bytes

Versions: 8

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Skeletons
    # Configures Guard support.
    class GuardSkeleton < BaseSkeleton
      def create
        return unless configuration.create_guard?
        cli.template "%gem_name%/Guardfile.tt", configuration.to_h
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gemsmith-7.7.0 lib/gemsmith/skeletons/guard_skeleton.rb
gemsmith-7.6.0 lib/gemsmith/skeletons/guard_skeleton.rb
gemsmith-7.5.0 lib/gemsmith/skeletons/guard_skeleton.rb
gemsmith-7.4.0 lib/gemsmith/skeletons/guard_skeleton.rb
gemsmith-7.3.0 lib/gemsmith/skeletons/guard_skeleton.rb
gemsmith-7.2.0 lib/gemsmith/skeletons/guard_skeleton.rb
gemsmith-7.1.0 lib/gemsmith/skeletons/guard_skeleton.rb
gemsmith-7.0.0 lib/gemsmith/skeletons/guard_skeleton.rb