From: Shawn M Moore Date: Thu, 5 Feb 2009 16:53:21 +0000 (+0000) Subject: Don't put ouse.pm into Mouse::Tiny X-Git-Tag: 0.19~45 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cae2769d6079cd96f6c56bebc771eeb586e601e2;p=gitmo%2FMouse.git Don't put ouse.pm into Mouse::Tiny --- diff --git a/author/generate-mouse-tiny.pl b/author/generate-mouse-tiny.pl index 3719a28..04a46f9 100755 --- a/author/generate-mouse-tiny.pl +++ b/author/generate-mouse-tiny.pl @@ -10,7 +10,12 @@ unlink 'lib/Mouse/Tiny.pm'; my @files; find({ - wanted => sub { push @files, $_ if -f $_ && !/Squirrel|MouseX|\.sw[po]$/ }, + wanted => sub { + push @files, $_ + if -f $_ + && !/Squirrel|MouseX|\.sw[po]$/ + && !/\bouse/ + }, no_chdir => 1, }, 'lib');