Permalink
Browse files

Add autotest support

  • Loading branch information...
1 parent 720148f commit d0be93e9f12bf52770b06ecb5d7748b7d4aa3063 @drbrain drbrain committed Oct 1, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 .autotest
View
@@ -0,0 +1,11 @@
+require 'autotest/restart'
+
+Autotest.add_hook :run_command do |at|
+ at.unit_diff = 'cat'
+
+ system "#{Gem.ruby} -rubygems #{Gem.bin_path 'rake', 'rake'} generate"
+end
+
+Autotest.add_hook :initialize do |at|
+ at.testlib = 'minitest/unit' if at.respond_to? :testlib=
+end

0 comments on commit d0be93e

Please sign in to comment.