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/
end

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 <[EMAIL PROTECTED]> 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@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to