From 52298ed50c9f4acbc899a64e529ceecf48c7937f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 4 Jul 2013 11:55:14 -0400 Subject: allow suppressing the done_testing test dep --- Changes | 1 + lib/Dist/Zilla/PluginBundle/DOY.pm | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index b1edc20..029040a 100644 --- a/Changes +++ b/Changes @@ -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 }, -- cgit v1.2.3-54-g00ecf