D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
nokogiri-1.8.1
/
Filename :
.autotest
back
Copy
# -*- ruby -*- begin require 'autotest/fsevent' rescue LoadError end Autotest.add_hook :initialize do |at| at.add_exception /bundle$/ at.add_exception /\.git/ end Autotest.add_hook :run_command do |at| at.unit_diff = 'cat' system "rake compile" end Autotest.add_hook :ran_command do |at| File.open('/tmp/autotest.txt', 'wb') { |f| f.write(at.results.join) } end