Acme-Alien-DontPanic

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN


2. You may apply bug fixes, portability fixes and other modifications derived
from the Public Domain or from the Copyright Holder. A Package modified in such
a way shall still be considered the Standard Version.

3. You may otherwise modify your copy of this Package in any way, provided that
you insert a prominent notice in each changed file stating how and when you
changed that file, and provided that you do at least ONE of the following:

  a) place your modifications in the Public Domain or otherwise make them
     Freely Available, such as by posting said modifications to Usenet or an
     equivalent medium, or placing the modifications on a major archive site
     such as ftp.uu.net, or by allowing the Copyright Holder to include your
     modifications in the Standard Version of the Package.

  b) use the modified Package only within your corporation or organization.

  c) rename any non-standard executables so the names do not conflict with
     standard executables, which must also be provided, and provide a separate
     manual page for each non-standard executable that clearly documents how it
     differs from the Standard Version.

Makefile.PL  view on Meta::CPAN


delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);

# BEGIN code inserted by Dist::Zilla::Plugin::AlienBuild
{ package
    MY;

  sub postamble {
    $abmm->mm_postamble(@_);
  }

  sub install {
    $abmm->can('mm_install')
      ? $abmm->mm_install(@_)
      : shift->SUPER::install(@_);
  }
}

# END code inserted by Dist::Zilla::Plugin::AlienBuild

dist.ini  view on Meta::CPAN

preamble = | if($^O eq 'midnightbsd')
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]

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 '';

t/00_diag.t  view on Meta::CPAN

    my $ver = eval { $module->VERSION };
    $ver = 'undef' unless defined $ver;
    diag sprintf $format, $module, $ver;
  }
  else
  {
    diag sprintf $format, $module, '-';
  }
}

if($post_diag)
{
  spacer;
  $post_diag->();
}

spacer;

done_testing;



( run in 2.131 seconds using v1.01-cache-2.11-cpan-5a3173703d6 )