Subject: | Filter out vim swap files |
Date: | Wed, 23 Mar 2011 21:05:53 +0100 |
To: | bug-test-continuous [...] rt.cpan.org |
From: | Rune Mydske Nielsen <runeni [...] redpill-linpro.com> |
Hi,
I really find Test::Continuous a cool project, but it would be nice to
filter out watching swap files made by such a popular editor as vim.
The code comment says it is excluding vim but it really isn't. The swap
names are in this format: .Foo.pm.swp.
I have attached a patch that changes line 132 in Test/Continuous.pm
(version 0.69).
from:
exclude => [qr/\.(git|svn)/, qr(~$), qr(\.#.*$)]
to:
exclude => [qr/\.(git|svn)/, qr(~$), qr(\.#.*$), qr/\..*\.swp$/]
Best regards,
Rune
--
Rune Mydske Nielsen
Senior systemutvikler / Senior system developer
Redpill Linpro AS - Changing the game
Email: runeni@redpill-linpro.com
Gpg: 0xE8C2DA9E
Message body not shown because it is not plain text.