Sha256: 0426fd7c66099e25c7d6d64787ba67663da4f66d16cacd42a05c7a06ca31e5c6
Contents?: true
Size: 431 Bytes
Versions: 28
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true module Overcommit::Hook::PrePush # Runs `minitest` test suite before push # # @see https://github.com/seattlerb/minitest class Minitest < Base def run result = execute(command) return :pass if result.success? output = result.stdout + result.stderr [:fail, output] end def command super + included_files.map { |file| "-r#{file}" } end end end
Version data entries
28 entries across 28 versions & 2 rubygems