Sha256: 7a6caebed9093df0cd8cd1c1a6d23a13a69afc1bff43395707dbeb837bd09190
Contents?: true
Size: 670 Bytes
Versions: 3
Compression:
Stored size: 670 Bytes
Contents
module Quality module Tools # Adds 'punchlist' tool support to quality gem module Punchlist private def punchlist_args glob = "--glob '#{source_files_glob}'" regexp = " --regexp '#{punchlist_regexp}'" if punchlist_regexp if exclude_files.size > 0 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-15.0.1 | lib/quality/tools/punchlist.rb |
quality-15.0.0 | lib/quality/tools/punchlist.rb |
quality-14.1.0 | lib/quality/tools/punchlist.rb |