Skip to content

Instantly share code, notes, and snippets.

@bhenderson
Created March 12, 2015 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhenderson/676d423c1488d0fea4a9 to your computer and use it in GitHub Desktop.
Save bhenderson/676d423c1488d0fea4a9 to your computer and use it in GitHub Desktop.
minitest-autotest pr
diff --git a/lib/autotest.rb b/lib/autotest.rb
index 7be003d..281d824 100755
--- a/lib/autotest.rb
+++ b/lib/autotest.rb
@@ -293,6 +293,8 @@ def run_tests
system cmd
hook :ran_command
+
+ hook all_good ? :green : :red
end
############################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment