From: Tokuhiro Matsuno Date: Sun, 7 Dec 2008 07:47:24 +0000 (+0000) Subject: skip temporary file for vim X-Git-Tag: 0.19~136^2~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=44b31b54069a41e4dc4d724c98b1fdfa61bd0a48;p=gitmo%2FMouse.git skip temporary file for vim --- diff --git a/author/generate-mouse-tiny.pl b/author/generate-mouse-tiny.pl index 3110274..30777cc 100755 --- a/author/generate-mouse-tiny.pl +++ b/author/generate-mouse-tiny.pl @@ -10,7 +10,7 @@ unlink 'lib/Mouse/Tiny.pm'; my @files; find({ - wanted => sub { push @files, $_ if -f $_ && !/Squirrel/ }, + wanted => sub { push @files, $_ if -f $_ && !/Squirrel|\.sw[po]$/ }, no_chdir => 1, }, 'lib');