[libdist-zilla-plugin-test-podspelling-perl] 02/04: register Test::Spelling as a develop prereq
Axel Beckert
abe at deuxchevaux.org
Mon May 25 10:05:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag v2.006008
in repository libdist-zilla-plugin-test-podspelling-perl.
commit 1026a366045c5d761c0fd7084ec939d98c751b03
Author: Graham Knop <haarg at haarg.org>
Date: Mon Jun 16 20:03:15 2014 -0400
register Test::Spelling as a develop prereq
---
lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 9647472..df28494 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -13,6 +13,7 @@ with (
'Dist::Zilla::Role::FileFinderUser' => {
default_finders => [ ':InstallModules' ],
},
+ 'Dist::Zilla::Role::PrereqSource',
);
sub mvp_multivalue_args { return ( qw( stopwords directories ) ) }
@@ -150,6 +151,18 @@ sub munge_file {
return;
}
+sub register_prereqs {
+ my $self = shift;
+ $self->zilla->register_prereqs(
+ {
+ type => 'requires',
+ phase => 'develop',
+ },
+ 'Test::Spelling' => '0.12',
+ );
+ return;
+}
+
__PACKAGE__->meta->make_immutable;
no Moose;
1;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-podspelling-perl.git
More information about the Pkg-perl-cvs-commits
mailing list