From: Dave Rolsky Date: Sun, 24 Feb 2013 16:46:37 +0000 (-0600) Subject: Remove our (now broken) dzil GatherDir subclass X-Git-Tag: 2.0800~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=366abb63a74af7c8a6eb6390f30d60a6bdfca414;p=gitmo%2FMoose.git Remove our (now broken) dzil GatherDir subclass We can use the exclude_match feature in more recent dzil versions instead. --- diff --git a/dist.ini b/dist.ini index f5fb978..9fec6d3 100644 --- a/dist.ini +++ b/dist.ini @@ -8,7 +8,8 @@ version = 2.0600 [=inc::RequireAuthorDeps] [=inc::Clean] -[=inc::GatherDir] +[GatherDir] +exclude_match = ^t/recipes/(?!basics_geonome_overloadingsubtypesandcoercion) [PruneCruft] [ManifestSkip] [MetaYAML] diff --git a/inc/GatherDir.pm b/inc/GatherDir.pm deleted file mode 100644 index cdf3d87..0000000 --- a/inc/GatherDir.pm +++ /dev/null @@ -1,16 +0,0 @@ -package inc::GatherDir; - -use Moose; - -extends 'Dist::Zilla::Plugin::GatherDir'; - -around _file_from_filename => sub { - my $orig = shift; - my $self = shift; - my $file = $self->$orig(@_); - return $file if $file->name =~ m+^t/recipes/basics_recipe10\.t+; - return () if $file->name =~ m+^t/recipes+; - return $file; -}; - -1;