]> Dogcows Code - chaz/p5-Dist-Zilla-PluginBundle-Author-CCM/blobdiff - lib/Dist/Zilla/PluginBundle/Author/CCM.pm
allow no installer
[chaz/p5-Dist-Zilla-PluginBundle-Author-CCM] / 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.027894 seconds and 4 git commands to generate.