Sha256: 138d2cd3448688c1f90d3fbcf641339c3725a791f7e951d8f22ef77849e5f185
Contents?: true
Size: 573 Bytes
Versions: 14
Compression:
Stored size: 573 Bytes
Contents
class CommandLineTask def initialize(runner, parser) @runner = runner @parser = parser end def run(files) all_files = files[:all] modified_files = files[:filtered] return nil if (!@runner.is_configured? all_files) return nil if (!@runner.should_run? modified_files) detail = @runner.execute state, summary, first = @parser.parse_result(detail) return { :state => state, :title => @runner.name, :summary => summary, :first => first, :detail => detail } end end
Version data entries
14 entries across 14 versions & 2 rubygems