Acme-CPANAuthors-MetaSyntactic

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

  "Acme::CPANAuthors" => 0,
  "Acme::CPANAuthors::Register" => 0,
  "File::Path" => 0,
  "File::Spec" => 0,
  "Test::More" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);

t/authors.t  view on Meta::CPAN

use strict;
use warnings;
use Test::More;
use File::Spec;
use File::Path qw(make_path);
use Acme::CPANAuthors::MetaSyntactic;

plan skip_all => 'these tests are for release candidate testing'
    if !$ENV{RELEASE_TESTING};

eval "use CPAN::Common::Index::Mirror; 1"
    or plan skip_all =>
    "CPAN::Common::Index::Mirror required for testing authors list";

plan tests => 1;

# handle the CPAN::Common::Index::Mirror cache
my $cache_dir = File::Spec->catdir( File::Spec->tmpdir, "cpan-$<" );
make_path $cache_dir unless -e $cache_dir;
my $index = CPAN::Common::Index::Mirror->new( { cache => $cache_dir } );
my $cache = $index->cached_package;



( run in 0.970 second using v1.01-cache-2.11-cpan-98e64b0badf )