Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add autotest support

  • Loading branch information...
commit d0be93e9f12bf52770b06ecb5d7748b7d4aa3063 1 parent 720148f
@drbrain drbrain authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 .autotest
View
11 .autotest
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.