[rspec-users] Ignore directory with Autotest?

Dominic Sisneros dsisnero at gmail.com
Tue Oct 9 15:10:27 EDT 2007

Then it is a matter of changing your code or adding a .autotest like so:

Autotest.add_hook :run do  |at|
  at.exceptions = /generated_output/

This allows you to ignore directories that match a regexp.
Unfortunately, there is no
hook in Autotest to allow you to ignore single file regexp which I
need to ignore flymake.rb
files when running emacs

On 10/4/07, Matt Margolis <matt at mattmargolis.net> wrote:
> Is there a way to have Autotest ignore a directory?  I am working on a
> project that involves code generation and some spec stub files are
> created.  This causes Autotest to run over and over.  Ideally I would
> like to be able to say something like
> autotest --ignore /generated_output
> or have an entry in my .autotest file that told autotest to always
> ignore that directory.
> Thank you,
> Matt Margolis
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071009/f500c94a/attachment.html 

More information about the rspec-users mailing list