Add instructions for autotest

This commit is contained in:
Jacques Crocker 2010-07-30 17:28:43 -07:00
parent 560923f060
commit d5c2494962

19
doc/autotest_setup Normal file
View File

@ -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