view release on metacpan or search on metacpan
- Require Alien:Base 0.029
0.028 Mar 14, 2016
- Require Alien::Base 0.028
0.027 Jan 20, 2016
- Require Alien::Base 0.025
0.026 Jan 10, 2016
- Require Alien::Base 0.024
- Added t/xs.t and t/ffi.t tests that use Test::Alien
0.025 Jul 20, 2015
- Require Alien::Base 0.022
0.024 Jul 13, 2015
- Require Alien::Base 0.020
0.023 Apr 27, 2015
- Bumped version to match new version of Acme::Ford::Prefect
{
"abstract" : "Test Module for Alien::Base::ModuleBuild",
"author" : [
"Graham Ollis <plicease@cpan.org>",
"Joel A Berger <joel.a.berger@gmail.com>"
],
"dynamic_config" : 1,
"generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
Makefile.PL view on Meta::CPAN
exit;
}
}
# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.72.
use strict;
use warnings;
use 5.006;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "Test Module for Alien::Base::ModuleBuild",
"AUTHOR" => "Graham Ollis <plicease\@cpan.org>, Joel A Berger <joel.a.berger\@gmail.com>",
"BUILD_REQUIRES" => {
"Alien::Build" => "0.40",
"Alien::Build::MM" => "0.40",
"ExtUtils::MakeMaker" => "6.52"
},
"CONFIGURE_REQUIRES" => {
"Alien::Build" => "2.72",
"Alien::Build::MM" => "0.40",
"Alien::Build::Plugin::Digest::Negotiate" => 0,
preamble = | {
preamble = | print "Sorry, MidnightBSD is not supported.\n";
preamble = | print "See:\n";
preamble = | print "https://github.com/PerlAlien/Alien-Base-Extras/issues/4\n";
preamble = | print "pull requests to fix this are welcome.\n";
preamble = | print "OS Unsupported\n";
preamble = | exit;
preamble = | }
diag_preamble = | $post_diag = sub {
diag_preamble = | use Test::Alien::Diag qw( alien_diag );
diag_preamble = | use Acme::Alien::DontPanic;
diag_preamble = | alien_diag 'Acme::Alien::DontPanic';
diag_preamble = | };
[AlienBuild]
:version = 0.10
[Author::Plicease::Core]
[Prereqs]
Alien::Base = 2.72
[Prereqs / ConfigureRequires]
Alien::Build = 2.72
[Prereqs / TestRequires]
Inline::C = 0
Inline::CPP = 0
[Author::Plicease::Upload]
cpan = 1
[PruneFiles]
filename = xt/release/changes.t
filename = xt/author/pod_coverage.t
lib/Acme/Alien/DontPanic.pm view on Meta::CPAN
package Acme::Alien::DontPanic;
use strict;
use warnings;
use base qw( Alien::Base );
# ABSTRACT: Test Module for Alien::Base::ModuleBuild
our $VERSION = '2.7200'; # VERSION
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Acme::Alien::DontPanic - Test Module for Alien::Base::ModuleBuild
=head1 VERSION
version 2.7200
=head1 DESCRIPTION
L<Alien::Base> comprises base classes to help in the construction of C<Alien::> modules. Modules in the L<Alien> namespace are used to locate and install (if necessary) external libraries needed by other Perl modules.
This module is a toy module to test the efficacy of the L<Alien::Base::ModuleBuild> system. This module is depended on by another toy module L<Acme::Ford::Prefect>, which needs the F<libdontpanic> library to be able to tell us the C<answer>.
perlcriticrc view on Meta::CPAN
[Freenode::IndirectObjectNotation]
[Freenode::LexicalForeachIterator]
[Freenode::LoopOnHash]
[Freenode::ModPerl]
[Freenode::OpenArgs]
[Freenode::OverloadOptions]
[Freenode::POSIXImports]
[Freenode::PackageMatchesFilename]
[Freenode::PreferredAlternatives]
[Freenode::StrictWarnings]
extra_importers = Test2::V0
[Freenode::Threads]
[Freenode::Wantarray]
[Freenode::WarningsSwitch]
[Freenode::WhileDiamondDefaultAssignment]
[BuiltinFunctions::ProhibitBooleanGrep]
[BuiltinFunctions::ProhibitStringyEval]
[BuiltinFunctions::ProhibitStringySplit]
[BuiltinFunctions::ProhibitVoidGrep]
[BuiltinFunctions::ProhibitVoidMap]
t/00_diag.t view on Meta::CPAN
use Test2::V0 -no_srand => 1;
use Config;
eval { require 'Test/More.pm' };
# This .t file is generated.
# make changes instead to dist.ini
my %modules;
my $post_diag;
$modules{$_} = $_ for qw(
Alien::Base
Alien::Build
Alien::Build::MM
Alien::Build::Plugin::Digest::Negotiate
ExtUtils::MakeMaker
File::Temp
Inline
Inline::C
Inline::CPP
Path::Tiny
Test2::V0
Test::Alien
Test::Alien::Diag
);
$post_diag = sub {
use Test::Alien::Diag qw( alien_diag );
use Acme::Alien::DontPanic;
alien_diag 'Acme::Alien::DontPanic';
};
my @modules = sort keys %modules;
sub spacer ()
{
diag '';
diag '';
t/acme_alien_dontpanic.t view on Meta::CPAN
use Test2::V0 -no_srand => 1;
use Test::Alien 0.05;
use Acme::Alien::DontPanic;
use Data::Dumper qw( Dumper );
alien_ok 'Acme::Alien::DontPanic';
xs_ok do { local $/; <DATA> }, with_subtest {
my($module) = @_;
plan 1;
is $module->answer, 42, 'answer is 42';
};
use Test2::V0 -no_srand => 1;
use Path::Tiny qw( path );
use File::Temp qw( tempdir );
BEGIN { $ENV{PERL_INLINE_DIRECTORY} = tempdir( DIR => path('.')->absolute->stringify, CLEANUP => 1, TEMPLATE => 'inlineXXXXX') }
use Acme::Alien::DontPanic;
use Inline 0.56 with => 'Acme::Alien::DontPanic';
use Inline C => 'DATA', ENABLE => 'AUTOWRAP';
is string_answer(), "the answer to life the universe and everything is 42", "indirect call";
is answer(), 42, "direct call";
t/inline_cpp.t view on Meta::CPAN
use Test2::V0 -no_srand => 1;
use Path::Tiny qw( path );
use File::Temp qw( tempdir );
BEGIN { $ENV{PERL_INLINE_DIRECTORY} = tempdir( DIR => path('.')->absolute->stringify, CLEANUP => 1, TEMPLATE => 'inlineXXXXX') }
use Acme::Alien::DontPanic;
use Inline 0.56 with => 'Acme::Alien::DontPanic';
use Inline CPP => 'DATA', ENABLE => 'AUTOWRAP';
is Foo->new->string_answer, "the answer to life the universe and everything is 42", 'indirect';
is answer(), 42, "direct";
xt/author/critic.t view on Meta::CPAN
use Test2::Require::Module 'Test2::Tools::PerlCritic';
use Test2::Require::Module 'Perl::Critic';
use Test2::Require::Module 'Perl::Critic::Freenode';
use Test2::V0;
use Perl::Critic;
use Test2::Tools::PerlCritic;
my $critic = Perl::Critic->new(
-profile => 'perlcriticrc',
);
perl_critic_ok ['lib','t'], $critic;
done_testing;
xt/author/eol.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
BEGIN {
plan skip_all => 'test requires Test::EOL'
unless eval q{ use Test::EOL; 1 };
};
use Test::EOL;
use FindBin;
use File::Spec;
chdir(File::Spec->catdir($FindBin::Bin, File::Spec->updir, File::Spec->updir));
all_perl_files_ok(grep { -e $_ } qw( bin lib t Makefile.PL ));
xt/author/no_tabs.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
BEGIN {
plan skip_all => 'test requires Test::NoTabs'
unless eval q{ use Test::NoTabs; 1 };
};
use Test::NoTabs;
use FindBin;
use File::Spec;
chdir(File::Spec->catdir($FindBin::Bin, File::Spec->updir, File::Spec->updir));
all_perl_files_ok( grep { -e $_ } qw( bin lib t Makefile.PL ));
xt/author/pod.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
BEGIN {
plan skip_all => 'test requires Test::Pod'
unless eval q{ use Test::Pod; 1 };
};
use Test::Pod;
use FindBin;
use File::Spec;
chdir(File::Spec->catdir($FindBin::Bin, File::Spec->updir, File::Spec->updir));
all_pod_files_ok( grep { -e $_ } qw( bin lib ));
xt/author/pod_spelling_common.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
BEGIN {
plan skip_all => 'test requires Test::Pod::Spelling::CommonMistakes'
unless eval q{ use Test::Pod::Spelling::CommonMistakes; 1 };
plan skip_all => 'test requires YAML'
unless eval q{ use YAML qw( LoadFile ); 1 };
};
use Test::Pod::Spelling::CommonMistakes;
use FindBin;
use File::Spec;
my $config_filename = File::Spec->catfile(
$FindBin::Bin, File::Spec->updir, File::Spec->updir, 'author.yml'
);
my $config;
$config = LoadFile($config_filename)
if -r $config_filename;
xt/author/pod_spelling_system.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
BEGIN {
plan skip_all => 'test requires Test::Spelling'
unless eval q{ use Test::Spelling; 1 };
plan skip_all => 'test requires YAML'
unless eval q{ use YAML; 1; };
};
use Test::Spelling;
use YAML qw( LoadFile );
use FindBin;
use File::Spec;
my $config_filename = File::Spec->catfile(
$FindBin::Bin, File::Spec->updir, File::Spec->updir, 'author.yml'
);
my $config;
$config = LoadFile($config_filename)
xt/author/strict.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
BEGIN {
plan skip_all => 'test requires Test::Strict'
unless eval q{ use Test::Strict; 1 };
};
use Test::Strict;
use FindBin;
use File::Spec;
chdir(File::Spec->catdir($FindBin::Bin, File::Spec->updir, File::Spec->updir));
unshift @Test::Strict::MODULES_ENABLING_STRICT,
'ozo',
'Test2::Bundle::SIPS',
'Test2::V0',
'Test2::Bundle::Extended';
note "enabling strict = $_" for @Test::Strict::MODULES_ENABLING_STRICT;
all_perl_files_ok( grep { -e $_ } qw( bin lib t Makefile.PL ));
xt/author/version.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
use FindBin ();
BEGIN {
plan skip_all => "test requires Test::Version 2.00"
unless eval q{
use Test::Version 2.00 qw( version_all_ok ), {
has_version => 1,
filename_match => sub { $_[0] !~ m{/(ConfigData|Install/Files)\.pm$} },
};
1
};
plan skip_all => 'test requires YAML'
unless eval q{ use YAML; 1; };
}
xt/release/fixme.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
BEGIN {
plan skip_all => 'test requires Test::Fixme'
unless eval q{ use Test::Fixme 0.14; 1 };
};
use Test::Fixme 0.07;
use FindBin;
use File::Spec;
chdir(File::Spec->catdir($FindBin::Bin, File::Spec->updir, File::Spec->updir));
run_tests(
match => qr/FIXME/,
where => [ grep { -e $_ } qw( bin lib t Makefile.PL Build.PL )],
warn => 1,
);
view all matches for this distributionview release on metacpan - search on metacpan