From: Charles McGarvey Date: Fri, 8 Apr 2022 21:52:46 +0000 (-0600) Subject: allow no installer X-Git-Tag: v0.012~1 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=fc8facbc9759f6a99f4856c7d056c0643ee5d639;p=chaz%2Fp5-Dist-Zilla-PluginBundle-Author-CCM allow no installer --- 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'}],