AMPR-Rip44
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
WriteMakefile(
NAME => 'AMPR::Rip44',
AUTHOR => q{Heikki Hannikainen, OH7LZB <hessu@hes.iki.fi>},
VERSION_FROM => 'lib/AMPR/Rip44.pm',
ABSTRACT_FROM => 'lib/AMPR/Rip44.pm',
EXE_FILES =>
[ 'bin/rip44d', ],
(
( !eval { ExtUtils::MakeMaker->VERSION(6.46) } )
? ( 'LICENSE' => 'EVVKTVH / ICCLEIYSIUYA' )
: ()
),
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
'IO::Socket::Multicast' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'AMPR-Rip44-*' },
use warnings;
use File::Spec;
use Test::More;
use English qw(-no_match_vars);
if ( not $ENV{RELEASE_TESTING} ) {
my $msg = 'Author test. Set $ENV{RELEASE_TESTING} to run.';
plan( skip_all => $msg );
}
eval { require Test::Perl::Critic; };
if ($EVAL_ERROR) {
my $msg = 'Test::Perl::Critic required to criticise code';
plan( skip_all => $msg );
}
my $rcfile = File::Spec->catfile( 't', 'perlcriticrc' );
Test::Perl::Critic->import( -profile => $rcfile );
all_critic_ok();
t/manifest.t view on Meta::CPAN
(my $test_dir) = $Bin;
(my $dist_dir) = Cwd::realpath( File::Spec->catfile($Bin, '..') );
if ( not $ENV{RELEASE_TESTING} ) {
my $msg = 'Author test. Set $ENV{RELEASE_TESTING} to run.';
plan( skip_all => $msg );
}
eval "use Test::CheckManifest 0.9";
plan skip_all => "Test::CheckManifest 0.9 required" if $@;
open( my $exclude_fh, q{<}, File::Spec->catfile( $dist_dir, 'ignore.txt' ) )
or die "couldn't open ignore.txt: $!";
my @exclude_files = map{
chomp;
/\*/ ?
glob( File::Spec->catfile( $dist_dir, $_ ) ) :
File::Spec->catfile( $dist_dir, $_ )
t/pod-coverage.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
# Ensure a recent version of Test::Pod::Coverage
my $min_tpc = 1.08;
eval "use Test::Pod::Coverage $min_tpc";
plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
if $@;
# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
# but older versions don't recognize some common documentation styles
my $min_pc = 0.18;
eval "use Pod::Coverage $min_pc";
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
if $@;
all_pod_coverage_ok();
#!perl -T
use strict;
use warnings;
use Test::More;
# Ensure a recent version of Test::Pod
my $min_tp = 1.22;
eval "use Test::Pod $min_tp";
plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
all_pod_files_ok();
( run in 0.606 second using v1.01-cache-2.11-cpan-98e64b0badf )