Sha256: b915cc4ce653e642485bd07c9e5053fee70a92c6c3025fa667b4afb39a5090bd
Contents?: true
Size: 593 Bytes
Versions: 5
Compression:
Stored size: 593 Bytes
Contents
# frozen_string_literal: true require_relative '../tool' module Quality module Tools # Adds 'bigfiles' tool support to quality gem class Bigfiles < Tool def bigfiles_args args = ['--glob', "'#{source_and_doc_files_glob}'"] args << ['--exclude-glob', "'#{source_files_exclude_glob}'"] unless source_files_exclude_glob == '{}' args.join(' ') end def quality_bigfiles ratchet_quality_cmd('bigfiles', args: bigfiles_args) do |line| line.split(':')[0].to_i end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems