BEGIN {
use inc::Module::Install;
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;
}
}
}
};
name 'Test-Name-FromLine';
all_from 'lib/Test/Name/FromLine.pm';
requires 'Test::Builder';
requires 'File::Slurp';
build_requires 'Test::More';
build_requires 'Test::Differences';
# Module::Install::AuthorTests
author_tests('xt');
# Module::Install::Repository
auto_set_repository;
# Module::Install::TestBase
use_test_base;
# Module::Install::ReadmeFromPod
readme_from 'lib/Test/Name/FromLine.pm';
auto_include;
WriteAll;