Skip to content

Commit

Permalink
Merge pull request #427 from CPAN-API/leo/do-not-index-perl6
Browse files Browse the repository at this point in the history
Do not index anything in a /Perl6/ directory
  • Loading branch information
oalders committed Dec 15, 2015
2 parents 4ab3bc1 + eaaefbf commit b68a8b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/MetaCPAN/Script/Release.pm
Expand Up @@ -123,6 +123,12 @@ sub run {
log_error {"Dunno what $_ is"};
}
}

# Strip off any files in a Perl6 folder
# e.g. http://www.cpan.org/authors/id/J/JD/JDV/Perl6/
# As here we are indexing perl5 only
@files = grep { $_ !~ m{/Perl6/} } @files;

log_info { scalar @files, " archives found" } if ( @files > 1 );

# build here before we fork
Expand Down

0 comments on commit b68a8b7

Please sign in to comment.