From d5c2494962a3f093ac6cf3adae7e26e279635b20 Mon Sep 17 00:00:00 2001 From: Jacques Crocker Date: Fri, 30 Jul 2010 17:28:43 -0700 Subject: [PATCH] Add instructions for autotest --- doc/autotest_setup | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/autotest_setup diff --git a/doc/autotest_setup b/doc/autotest_setup new file mode 100644 index 00000000..e51f5daf --- /dev/null +++ b/doc/autotest_setup @@ -0,0 +1,19 @@ +# ADD THIS to your ~/.autotest + +require 'rubygems' +require 'growl_glue' + +GrowlGlue::Autotest.initialize + +Autotest.add_hook :initialize do |at| + # Ignore files in tmp/ + at.add_exception %r%^\./tmp% + at.add_exception %r%^\./sass-cache% + at.add_exception %r%^\./log% + at.add_exception %r%^\./spec/tmp% + at.add_exception %r%^\./doc% +end + + +# RUN `autotest` in order to autotest your specs +# RUN `AUTOFEATURE=true autotest` in order to autotest your cucumber features \ No newline at end of file