Acme-ARUHI-Utils
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
my $builder = Module::Build->new(
module_name => 'Acme::ARUHI::Utils',
license => 'artistic_2',
dist_author => q{Ryota Miki <aruhi@cpan.com>},
dist_version_from => 'lib/Acme/ARUHI/Utils.pm',
release_status => 'stable',
configure_requires => {
'Module::Build' => 0,
},
build_requires => {
'Test::More' => 0,
},
requires => {
#'ABC' => 1.6,
#'Foo::Bar::Module' => 5.0401,
},
add_to_cleanup => [ 'Acme-ARUHI-Utils-*' ],
create_makefile_pl => 'traditional',
);
$builder->create_build_script();
"artistic_2"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "Acme-ARUHI-Utils",
"prereqs" : {
"build" : {
"requires" : {
"Test::More" : "0"
}
},
"configure" : {
"requires" : {
"Module::Build" : "0"
}
}
},
"provides" : {
"Acme::ARUHI::Utils" : {
---
abstract: 'The great new Acme::ARUHI::Utils!'
author:
- 'Ryota Miki <aruhi@cpan.com>'
build_requires:
Test::More: '0'
configure_requires:
Module::Build: '0'
dynamic_config: 1
generated_by: 'Module::Build version 0.4211, CPAN::Meta::Converter version 2.143240'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Acme-ARUHI-Utils
provides:
Makefile.PL view on Meta::CPAN
# Note: this file was auto-generated by Module::Build::Compat version 0.4211
use ExtUtils::MakeMaker;
WriteMakefile
(
'PL_FILES' => {},
'INSTALLDIRS' => 'site',
'NAME' => 'Acme::ARUHI::Utils',
'EXE_FILES' => [],
'VERSION_FROM' => 'lib/Acme/ARUHI/Utils.pm',
'PREREQ_PM' => {
'Test::More' => 0
}
)
;
t/00-load.t view on Meta::CPAN
#!perl -T
use 5.006;
use strict;
use warnings;
use Test::More;
plan tests => 1;
BEGIN {
use_ok( 'Acme::ARUHI::Utils' ) || print "Bail out!\n";
}
diag( "Testing Acme::ARUHI::Utils $Acme::ARUHI::Utils::VERSION, Perl $], $^X" );
#!perl -T
use 5.006;
use strict;
use warnings;
use Test::More;
BEGIN {
use_ok( 'Acme::ARUHI::Utils' ) || print "Bail out!\n";
}
ok(defined &Acme::ARUHI::Utils::sum);
is(sum, undef);
is(sum(1), 1);
is(sum(1,2), 3);
is(sum(1,2,3), 6);
t/manifest.t view on Meta::CPAN
#!perl -T
use 5.006;
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 -T
use 5.006;
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 -T
use 5.006;
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();
xt/boilerplate.t view on Meta::CPAN
#!perl -T
use 5.006;
use strict;
use warnings;
use Test::More;
plan tests => 3;
sub not_in_file_ok {
my ($filename, %regex) = @_;
open( my $fh, '<', $filename )
or die "couldn't open $filename for reading: $!";
my %violated;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.856 second using v1.00-cache-2.02-grep-82fe00e-cpan-585fae043c8 )