Sha256: 9f2ca290e0a1c7035c78dcfc4b2b2fd641268b370367102d888aaa52a536c0b8
Contents?: true
Size: 348 Bytes
Versions: 3
Compression:
Stored size: 348 Bytes
Contents
require 'autotest/restart' Autotest.add_hook :initialize do |at| at.unit_diff = 'cat' end Autotest.add_hook :ran_command do |at| log_file = File.expand_path('../tmp/autotest.log', __FILE__) File.open(log_file, 'wb') {|f| content = at.results.join content.gsub!(/\x1B\[(\d+)m/, '') f.write(content) } end # vim: filetype=ruby
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
image-file-0.1.2 | .autotest |
image-file-0.1.1 | .autotest |
image-file-0.1.0 | .autotest |