# -*- ruby -*- require 'autotest/restart' Autotest.add_hook :initialize do |at| at.order = :random at.add_exception 'coverage' at.add_exception 'coverage.info' at.libs << ':../../minitest/dev/lib' at.testlib = "minitest/autorun" end Autotest.add_hook :all_good do |at| system "rake rcov_info" end if ENV['RCOV']