use strict; use warnings; use ExtUtils::MakeMaker 6.30; use File::ShareDir::Install; install_share module => "Dist::Zilla::MintingProfile::Author::DBR", "profiles"; my %WriteMakefileArgs = ( "ABSTRACT" => "DBR's minting profile", "AUTHOR" => "Daniel B. ", "BUILD_REQUIRES" => { "Carp" => 0, "ExtUtils::MakeMaker" => 0, "File::Spec::Functions" => 0, "List::Util" => 0, "Module::Build" => "0.3601", "Scalar::Util" => 0, "Test::CheckDeps" => "0.002", "Test::More" => "0.94", "Test::UseAllModules" => 0, "strict" => 0, "warnings" => 0 }, "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => "6.30", "File::ShareDir::Install" => "0.03", "Module::Build" => "0.3601" }, "DISTNAME" => "Dist-Zilla-MintingProfile-Author-DBR", "EXE_FILES" => [], "LICENSE" => "perl", "NAME" => "Dist::Zilla::MintingProfile::Author::DBR", "PREREQ_PM" => { "Dist::Zilla::Role::MintingProfile::ShareDir" => 0, "Moose" => 0, "namespace::autoclean" => 0 }, "VERSION" => "0.250", "test" => { "TESTS" => "t/*.t" } ); unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; my $pp = $WriteMakefileArgs{PREREQ_PM}; for my $mod ( keys %$br ) { if ( exists $pp->{$mod} ) { $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; } else { $pp->{$mod} = $br->{$mod}; } } } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); { package MY; use File::ShareDir::Install qw(postamble); }