]> Dogcows Code - chaz/p5-Dist-Zilla-PluginBundle-Author-CCM/commitdiff
allow no installer
authorCharles McGarvey <ccm@cpan.org>
Fri, 8 Apr 2022 21:52:46 +0000 (15:52 -0600)
committerCharles McGarvey <ccm@cpan.org>
Fri, 8 Apr 2022 21:52:46 +0000 (15:52 -0600)
lib/Dist/Zilla/PluginBundle/Author/CCM.pm

index d1581c6aee1fa7b8687e50b0a1c5aadeab301997..a8b8a9ccd6feef56663dd3f6fe4aba8980ad1352 100644 (file)
@@ -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'}],
This page took 0.030489 seconds and 4 git commands to generate.