Acme-ExtUtils-XSOne-Test-Calculator
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
use 5.008003;
use strict;
use warnings;
use ExtUtils::MakeMaker;
# Use ExtUtils::XSOne to combine multiple XS files into one
eval { require ExtUtils::XSOne };
if ($@) {
die "ExtUtils::XSOne is required to build this module: $@";
}
# Combine XS files before WriteMakefile
# Output to root directory (standard location for XS)
# Use recursive mode to find XS files alongside .pm files
ExtUtils::XSOne->combine(
src_dir => 'lib/Acme/ExtUtils/XSOne/Test',
output => 'Calculator.xs',
recursive => 1,
verbose => 1,
Acme-ExtUtils-XSOne-Test-Calculator
The README is used to introduce the module and provide instructions on
how to install the module, any machine dependencies it may have (for
example C compilers and installed libraries) and any other information
that should be provided before the module is installed.
A README file is required for CPAN modules since CPAN extracts the README
file from a module distribution so that people browsing the archive
can use it to get an idea of the module's uses. It is usually a good idea
to provide version information here so that people can decide whether
fixes for the module are worth downloading.
INSTALLATION
To install this module, run the following commands:
t/manifest.t view on Meta::CPAN
#!perl
use 5.008003;
use strict;
use warnings;
use Test::More;
unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}
my $min_tcm = 0.9;
eval "use Test::CheckManifest $min_tcm";
plan skip_all => "Test::CheckManifest $min_tcm required" if $@;
ok_manifest();
t/pod-coverage.t view on Meta::CPAN
#!perl
use 5.008003;
use strict;
use warnings;
use Test::More;
unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}
# 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
use 5.008003;
use strict;
use warnings;
use Test::More;
unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}
# 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 1.738 second using v1.01-cache-2.11-cpan-13bb782fe5a )