Permalink
Browse files

add .autotest, .gemrc

  • Loading branch information...
1 parent b7ca37e commit 1971f3e3670be68166c762382afd5f8409e7eca9 aereal committed Feb 26, 2011
Showing with 27 additions and 0 deletions.
  1. +21 −0 .autotest
  2. +6 −0 .gemrc
View
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+#
+# vim: set ft=ruby:
+
+Autotest.add_hook :green do
+ icon_path = "/usr/share/icons/Elegant-AwOken/clear/24x24/emblems/emblem-ok.png"
+ system "notify-send -i #{icon_path} OK"
+end
+
+Autotest.add_hook :red do
+ icon_path = "/usr/share/icons/Elegant-AwOken/clear/24x24/status/error.png"
+ system "notify-send -i #{icon_path} Failed"
+end
+
+Autotest.add_hook :initialize do |autotest|
+ %w(.git .DS_Store .*).each {|exception|
+ autotest.add_exception(exception)
+ }
+ false
+end
+
View
@@ -0,0 +1,6 @@
+---
+:backtrace: true
+:benchmark: false
+:verbose: true
+gem: --no-rdoc --no-ri
+search: -r

0 comments on commit 1971f3e

Please sign in to comment.