Sha256: 9a9de827bf130455e1231d5bc7f9bec0924e457c635f5c849564ea10b0f0c8a1
Contents?: true
Size: 680 Bytes
Versions: 3
Compression:
Stored size: 680 Bytes
Contents
module Quality module Tools # Adds 'punchlist' tool support to quality gem module Punchlist private def punchlist_args glob = "--glob '#{source_and_doc_files_glob}'" regexp = " --regexp '#{punchlist_regexp}'" if punchlist_regexp unless exclude_files.empty? exclude = " --exclude-glob '#{source_files_exclude_glob}'" end args = glob args += regexp if regexp args += exclude if exclude args end def quality_punchlist ratchet_quality_cmd('punchlist', args: punchlist_args) do |_line| 1 end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quality-22.0.0 | lib/quality/tools/punchlist.rb |
quality-21.0.6 | lib/quality/tools/punchlist.rb |
quality-21.0.5 | lib/quality/tools/punchlist.rb |