ASPEER-MakeMaker

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "perl" : "5.008",
            "strict" : "0",
            "vars" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "requires" : {
            "File::Path" : "0",
            "File::Temp" : "0",
            "Test::More" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/aspeer/pm-ASPEER-MakeMaker/issues"
      },
      "homepage" : "https://github.com/aspeer/pm-ASPEER-MakeMaker",
      "repository" : {

META.yml  view on Meta::CPAN

---
abstract: 'parent entry point and shared make-target methods for MakeMaker plugins'
author:
  - 'Andrew Speer <andrew.speer@isolutions.com.au>'
build_requires:
  ExtUtils::MakeMaker: '0'
  File::Path: '0'
  File::Temp: '0'
  Test::More: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
  Tie::File: '0'
  version: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.78, CPAN::Meta::Converter version 2.150013'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'

Makefile.PL  view on Meta::CPAN

        'warnings'              =>  0,
    },
    CONFIGURE_REQUIRES  =>  {
        'ExtUtils::MakeMaker'   =>  0,
        'Tie::File'             =>  0,
        'version'               =>  0,
    },
    TEST_REQUIRES       =>  {
        'File::Path'            =>  0,
        'File::Temp'            =>  0,
        'Test::More'            =>  0,
    },
    META_MERGE => {
        x_authority     => 'cpan:ASPEER',
        'meta-spec'     => {
            version     => 2
        },
        prereqs         => {
            configure  => {
                suggests => {
                    'ASPEER::MakeMaker::Markdown::Pod' => '1.010',

cpanfile  view on Meta::CPAN

    requires 'perl', '5.008';
    requires 'ExtUtils::MakeMaker';
    requires 'Tie::File';
    requires 'version';
    suggests 'ASPEER::MakeMaker::Markdown::Pod', '1.010';
};

on test => sub {
    requires 'File::Path';
    requires 'File::Temp';
    requires 'Test::More';
};

t/02-mm-integration.t  view on Meta::CPAN

#!perl

use strict;
use warnings;
use lib 'lib';

use Config;
use Cwd qw(abs_path getcwd);
use File::Path qw(make_path);
use File::Temp qw(tempdir);
use Test::More qw(no_plan);

use ASPEER::MakeMaker::MM::Util ();


#  Read and write test fixture files
#
sub slurp {

    my ($fn)=@_;
    open(my $input_fh, '<', $fn) || die("unable to open $fn, $!");

t/02-mm-integration.t  view on Meta::CPAN

MANIFEST


#  Create disposable Git provenance when Git is available
#
my $git_sha='';
if (system('git', 'init', '-q')==0) {
    system('git', 'add', '.')==0 || die("unable to add Git fixtures, $!");
    system(
        'git',
        '-c', 'user.name=Local ExtUtils Common Test',
        '-c', 'user.email=test@example.invalid',
        'commit', '-qm', 'test fixture'
    )==0 || die("unable to commit Git fixtures, $!");
    $git_sha=qx(git rev-parse --short HEAD);
    chomp($git_sha);
}


#  Generate the Makefile through command-line activation
#

t/ASPEER-MakeMaker.t  view on Meta::CPAN

# Before 'make install' is performed this script should be runnable with
# 'make test'. After 'make install' it should work as 'perl ASPEER-MakeMaker.t'

#########################

# change 'tests => 1' to 'tests => last_test_to_print';

use strict;
use warnings;

use Test::More tests => 13;
use File::Path qw(make_path);
use File::Spec;
use File::Temp qw(tempdir);

BEGIN { use_ok('ASPEER::MakeMaker') };
use ASPEER::MakeMaker::MM::Constant qw(
    $ASPEER_MAKEMAKER_PM_ARGV
    $TEMPLATE_POSTAMBLE_FN
    $UPDATE_SOURCE_UTIL_FN
);

#########################

# Insert your test code below, the Test::More module is use()ed here so read
# its man page ( perldoc Test::More ) for help writing this test script.

is(
    ASPEER::MakeMaker::MM::Import::mm_prefix('ASPEER::MakeMaker::Markdown::Pod'),
    'ASPEER_MAKEMAKER_MARKDOWN_POD',
    'default Makefile prefix is derived from the extension class'
);

my $tmp_dir=tempdir(CLEANUP => 1);
my $dest_dir=File::Spec->catdir($tmp_dir, qw(ASPEER MakeMaker MM));
make_path($dest_dir);



( run in 1.803 second using v1.01-cache-2.11-cpan-234fa220139 )