From fc8facbc9759f6a99f4856c7d056c0643ee5d639 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Fri, 8 Apr 2022 15:52:46 -0600 Subject: [PATCH] allow no installer --- lib/Dist/Zilla/PluginBundle/Author/CCM.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Dist/Zilla/PluginBundle/Author/CCM.pm b/lib/Dist/Zilla/PluginBundle/Author/CCM.pm index d1581c6..a8b8a9c 100644 --- a/lib/Dist/Zilla/PluginBundle/Author/CCM.pm +++ b/lib/Dist/Zilla/PluginBundle/Author/CCM.pm @@ -240,6 +240,7 @@ sub configure { my @git_remotes = qw(github origin); my @check_files = qw(:InstallModules :ExecFiles :TestFiles :ExtraTestFiles); my $perl_version_target = $self->max_target_perl; + my $installer = $self->installer; if ($self->no_upload) { say '[@Author::CCM] WARNING! WARNING! WARNING! *** You are in no_upload mode!! ***'; @@ -299,7 +300,7 @@ sub configure { ['Manifest'], ['ManifestSkip'], - $self->installer, # e.g. MakeMaker + $installer ? $self->installer : (), # e.g. MakeMaker # RELEASE ['NextRelease' => {format => '%-9v %{yyyy-MM-dd HH:mm:ssZZZ}d%{ (TRIAL RELEASE)}T'}], -- 2.45.2