diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-07-04 11:55:14 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-07-04 11:55:55 -0400 |
commit | 52298ed50c9f4acbc899a64e529ceecf48c7937f (patch) | |
tree | d9e55d4977b1782635452147dd104df1ad4289f4 | |
parent | 55186125cd715da1a57e3724eaf5983b76a0eefc (diff) | |
download | dist-zilla-pluginbundle-doy-52298ed50c9f4acbc899a64e529ceecf48c7937f.tar.gz dist-zilla-pluginbundle-doy-52298ed50c9f4acbc899a64e529ceecf48c7937f.zip |
allow suppressing the done_testing test dep
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | lib/Dist/Zilla/PluginBundle/DOY.pm | 8 |
2 files changed, 8 insertions, 1 deletions
@@ -1,6 +1,7 @@ Revision history for Dist-Zilla-PluginBundle-DOY {{$NEXT}} + - allow suppressing the done_testing test dep 0.11 2013-06-26 - fix previous fix 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 }, |