Android-ElectricSheep-Automator
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
'Getopt::Long' => '0',
'Encode' => '0',
'File::Basename' => '0',
'File::Path' => '0',
'File::Spec' => '0',
# by Android::ADB
'Carp' => '0',
'File::Slurp' => '0',
'IPC::Open2' => '0',
'IPC::Run' => '0',
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Android-ElectricSheep-Automator-* tmp .test*' },
postamble => {
LIVE_TEST_FILES => 'xt/live/*.t',
AUTHOR_TEST_FILES => 'xt/author/*.t',
OPTIONAL_TEST_FILES => 'xt/author/optional/*.t'
},
# see https://perlmonks.org/?displaytype=displaycode;node_id=359256;part=1;abspart=1
META_MERGE => {
'meta-spec' => { version => 2 },
requires => { perl => '5.0.10' },
resources => {
license => 'artistic_2',
homepage => 'https://metacpan.org/module/Android::ElectricSheep::Automator',
repository => {
url => 'https://github.com/hadjiprocopis/perl-android-electricsheep-automator',
web => 'https://github.com/hadjiprocopis/perl-android-electricsheep-automator',
type => 'git',
},
bugtracker => {
web => 'https://github.com/hadjiprocopis/perl-android-electricsheep-automator/issues',
}
},
},
);
# Compatibility with old versions of ExtUtils::MakeMaker
unless (eval { ExtUtils::MakeMaker->VERSION('6.64'); 1 }) {
my $test_requires = delete $WriteMakefileArgs{TEST_REQUIRES} || {};
@{$WriteMakefileArgs{PREREQ_PM}}{keys %$test_requires} = values %$test_requires;
}
unless (eval { ExtUtils::MakeMaker->VERSION('6.55_03'); 1 }) {
my $build_requires = delete $WriteMakefileArgs{BUILD_REQUIRES} || {};
@{$WriteMakefileArgs{PREREQ_PM}}{keys %$build_requires} = values %$build_requires;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION('6.52'); 1 };
delete $WriteMakefileArgs{MIN_PERL_VERSION}
unless eval { ExtUtils::MakeMaker->VERSION('6.48'); 1 };
delete $WriteMakefileArgs{LICENSE}
unless eval { ExtUtils::MakeMaker->VERSION('6.31'); 1 };
WriteMakefile(%WriteMakefileArgs);
sub MY::postamble {
my (undef,%h) = @_;
# require Data::Dumper; print STDERR Data::Dumper->Dump([\%h], [qw(mm_args{postamble})]);
return
"LIVE_TEST_FILES=$h{LIVE_TEST_FILES}\n"
. "AUTHOR_TEST_FILES=$h{AUTHOR_TEST_FILES}\n"
. "OPTIONAL_TEST_FILES=$h{OPTIONAL_TEST_FILES}\n"
. <<'POSTAMBLE';
TEST_D = $(ABSPERLRUN) -MExtUtils::Command -e test_d --
livetest :: $(LIVE_TEST_FILES)
prove --blib $(INST_LIB) --blib $(INST_ARCHLIB) --verbose $^
authortest :: $(AUTHOR_TEST_FILES)
prove --blib $(INST_LIB) --blib $(INST_ARCHLIB) --verbose $^
optionaltest :: $(OPTIONAL_TEST_FILES)
prove --blib $(INST_LIB) --blib $(INST_ARCHLIB) --verbose $^
POSTAMBLE
}
( run in 1.885 second using v1.01-cache-2.11-cpan-39bf76dae61 )