Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (34 sloc) 789 Bytes
BEGIN {
my @mip = qw(
Module::Install::AuthorTests
Module::Install::Repository
Module::Install::ReadmeFromPod
Module::Install::TestBase
);
for (@mip) {
eval "require $_";
if ($@) {
eval "require inc::$_";
if ($@) {
warn $@;
printf("# Install following (perl Makefile.PL | cpanm):\n%s", join("\n", @mip));
exit 1;
}
}
}
};
use inc::Module::Install;
name 'Plack-Middleware-AccessCount';
all_from 'lib/Plack/Middleware/AccessCount.pm';
requires 'Exporter::Lite';
build_requires 'Test::Most';
# Module::Install::AuthorTests
author_tests('xt');
# Module::Install::Repository
auto_set_repository;
# Module::Install::TestBase
use_test_base;
# Module::Install::ReadmeFromPod
readme_from 'lib/Plack/Middleware/AccessCount.pm';
auto_include;
WriteAll;