Sha256: 8ce37da94f0bdfab0f68fb95703671f09e7f8923b83b83f33db17b1ba71349d1
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Rubysmith module Builders module Docker # Builds Docker ignore configuration. class Ignore < Abstract using Refinements::Struct def call return false unless settings.build_git builder.call(settings.merge(template_path: "%project_name%/.dockerignore.erb")).render true end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-7.3.0 | lib/rubysmith/builders/docker/ignore.rb |