summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-07-04 11:55:14 -0400
committerJesse Luehrs <doy@tozt.net>2013-07-04 11:55:55 -0400
commit52298ed50c9f4acbc899a64e529ceecf48c7937f (patch)
treed9e55d4977b1782635452147dd104df1ad4289f4 /lib
parent55186125cd715da1a57e3724eaf5983b76a0eefc (diff)
downloaddist-zilla-pluginbundle-doy-52298ed50c9f4acbc899a64e529ceecf48c7937f.tar.gz
dist-zilla-pluginbundle-doy-52298ed50c9f4acbc899a64e529ceecf48c7937f.zip
allow suppressing the done_testing test dep
Diffstat (limited to 'lib')
-rw-r--r--lib/Dist/Zilla/PluginBundle/DOY.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Dist/Zilla/PluginBundle/DOY.pm b/lib/Dist/Zilla/PluginBundle/DOY.pm
index 8564ddb..971dc51 100644
--- a/lib/Dist/Zilla/PluginBundle/DOY.pm
+++ b/lib/Dist/Zilla/PluginBundle/DOY.pm
@@ -204,6 +204,12 @@ has is_test_dist => (
},
);
+has done_testing => (
+ is => 'ro',
+ isa => 'Bool',
+ default => 1,
+);
+
has _plugins => (
is => 'ro',
isa => 'ArrayRef[Str]',
@@ -316,7 +322,7 @@ sub configure {
-type => 'requires',
'Test::More' => '0.88',
} ]
- );
+ ) if $self->done_testing;
$self->add_plugins(
map { [ $_ => ($self->plugin_options->{$_} || {}) ] }
@{ $self->_plugins },