Acme-AllThePerlIsAStage
view release on metacpan or search on metacpan
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'Acme::AllThePerlIsAStage',
license => 'artistic2',
dist_author => 'Daniel Muey <http://drmuey.com/cpan_contact.pl>',
dist_version_from => 'lib/Acme/AllThePerlIsAStage.pm',
requires => {
'Test::More' => 0,
},
# delete_share => '.', # NYI https://rt.cpan.org/Ticket/Display.html?id=92863
# install_share => 'share',
add_to_cleanup => ['Acme-AllThePerlIsAStage-*'],
);
$builder->create_build_script();
# package MY;
"ExtUtils::MakeMaker" : "0"
}
},
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"Test::More" : "0"
}
}
},
"release_status" : "stable",
"version" : "0.01"
}
license: unknown
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Acme-AllThePerlIsAStage
no_index:
directory:
- t
- inc
requires:
Test::More: 0
version: 0.01
Makefile.PL view on Meta::CPAN
# };
# warn "-- share/ will not be installed --\n\t$@\n-- end sharedir error --\n" if $@;
WriteMakefile(
NAME => 'Acme::AllThePerlIsAStage',
AUTHOR => 'Daniel Muey <http://drmuey.com/cpan_contact.pl>',
VERSION_FROM => 'lib/Acme/AllThePerlIsAStage.pm',
ABSTRACT_FROM => 'lib/Acme/AllThePerlIsAStage.pm',
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Acme-AllThePerlIsAStage-*' },
);
t/00.load.t view on Meta::CPAN
use Test::More tests => 1;
BEGIN {
use_ok('Acme::AllThePerlIsAStage');
}
diag("Testing Acme::AllThePerlIsAStage $Acme::AllThePerlIsAStage::VERSION");
t/perlcritic.t view on Meta::CPAN
#!perl
use Test::More;
plan skip_all => 'Critic tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};
eval 'use Test::Perl::Critic';
plan skip_all => 'Test::Perl::Critic required for testing PBP compliance' if $@;
Test::Perl::Critic::all_critic_ok();
t/perltidy.t view on Meta::CPAN
#!perl
use Test::More;
plan skip_all => 'PerlTidy tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};
eval 'use Test::PerlTidy';
plan skip_all => 'Test::PerlTidy required for testing PerlTidy-ness' if $@;
Test::PerlTidy::run_tests();
t/pkg-changes.t view on Meta::CPAN
#!perl
use Test::More;
plan skip_all => 'pkg/Changes tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};
eval 'use Test::CPAN::Changes 0.23';
plan skip_all => 'Test::CPAN::Changes 0.23 required for testing the pkg/Changes file' if $@;
changes_ok(); # this does the plan
t/pkg-readme.t view on Meta::CPAN
#!perl
use Test::More;
plan skip_all => 'pkg/README tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};
eval 'use Test::CPAN::README 0.2';
plan skip_all => 'Test::CPAN::README v0.2 required for testing the pkg/README file' if $@;
readme_ok(); # this does the plan
t/pod-coverage.t view on Meta::CPAN
#!perl
use Test::More;
plan skip_all => 'POD tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};
eval 'use Test::Pod::Coverage 1.04';
plan skip_all => 'Test::Pod::Coverage v1.04 required for testing POD coverage' if $@;
pod_coverage_ok('Acme::AllThePerlIsAStage');
done_testing;
t/pod-encoding.t view on Meta::CPAN
#!perl
use Test::More;
plan skip_all => 'POD tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};
eval 'use Test::Pod 1.14';
plan skip_all => 'Test::Pod v1.14 required for testing POD' if $@;
eval 'use Pod::Simple';
plan skip_all => 'Pod::Simple v3.28 required for testing POD encoding' if $@;
for my $pod ( all_pod_files() ) {
my $parser = Pod::Simple->new();
$parser->parse_file($pod);
next if !$parser->content_seen();
my $enc = $parser->encoding();
ok( defined $enc, "=encoding exists: $pod" ) && like( $enc, qr/^utf-?8$/i, "=encoding is utf8: $pod" );
t/pod-spelling.t view on Meta::CPAN
#!perl
use Test::More;
plan skip_all => 'POD tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};
eval 'use Test::Spelling 0.19';
plan skip_all => 'Test::Spelling v0.19 required for testing POD' if $@;
add_stopwords( map { split /[\s\:\-]/ } readline(*DATA) );
$ENV{LANG} = 'C';
all_pod_files_spelling_ok();
__DATA__
MERCHANTABILITY
Muey
ADD MORE HERE
t/pod-version.t view on Meta::CPAN
#!perl
use Test::More;
plan skip_all => 'POD tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};
eval 'use Test::Pod 1.14';
plan skip_all => 'Test::Pod v1.14 required for testing POD' if $@;
eval 'use Pod::Simple::SimpleTree 3.28';
plan skip_all => 'Pod::Simple::SimpleTree v3.28 required for testing POD version' if $@;
eval 'use Module::Want 0.5';
plan skip_all => 'Module::Want v0.5 required for testing POD version' if $@;
my $ns_regex = Module::Want::get_ns_regexp();
for my $pod ( all_pod_files() ) {
my $version_section;
#!perl
use Test::More;
plan skip_all => 'POD tests are only run in RELEASE_TESTING mode.' unless $ENV{'RELEASE_TESTING'};
eval 'use Test::Pod 1.14';
plan skip_all => 'Test::Pod v1.14 required for testing POD' if $@;
all_pod_files_ok();
( run in 1.866 second using v1.01-cache-2.11-cpan-364913b4093 )