MOP4Import-Declare

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Module::Runtime" : "0",
            "Sub::Util" : "1.40",
            "perl" : "5.010"
         }
      },
      "test" : {
         "requires" : {
            "Capture::Tiny" : "0",
            "Cpanel::JSON::XS" : "4.05",
            "Test2::Tools::Command" : "0",
            "Test::Differences" : "0",
            "Test::Exit" : "0",
            "Test::Kantan" : "0",
            "Test::More" : "1.3021",
            "Test::Output" : "0",
            "YAML::Syck" : "0"
         }
      }
   },
   "provides" : {
      "MOP4Import::Base::CLI" : {

META.yml  view on Meta::CPAN

abstract: 'Thin Meta-Object Protocol to build extensible exporters'
author:
  - 'KOBAYASHI, Hiroaki <hkoba@cpan.org>'
build_requires:
  Capture::Tiny: '0'
  Cpanel::JSON::XS: '4.05'
  JSON::PP: '2.273'
  Module::Build: '0.42'
  Module::Build::Pluggable::CPANfile: '0.05'
  Test2::Tools::Command: '0'
  Test::Differences: '0'
  Test::Exit: '0'
  Test::Kantan: '0'
  Test::More: '1.3021'
  Test::Output: '0'
  YAML::Syck: '0'
  rlib: '0'
configure_requires:
  Module::Build: '0.42'
  Module::Build::Pluggable::CPANfile: '0.05'
  rlib: '0'

cpanfile  view on Meta::CPAN

on build => sub {
  requires 'rlib';
  requires 'Module::Build', '>= 0.42';
  requires 'Module::Build::Pluggable::CPANfile';
  requires 'JSON::PP', '>= 2.273';
};

on test => sub {
  requires 'Test::More', '>= 1.3021';
  requires 'Test::Kantan';
  requires 'Test::Differences';
  requires 'Capture::Tiny';
  requires 'Test::Output';
  requires 'Test::Exit';
  requires 'Test2::Tools::Command';
  requires 'YAML::Syck';
  requires 'Cpanel::JSON::XS', '>= 4.05';
};

t/06_cmd_help.t  view on Meta::CPAN

#----------------------------------------
use strict;
use warnings qw(FATAL all NONFATAL misc);
use Carp;
use FindBin; BEGIN { do "$FindBin::Bin/t_lib.pl" }

use File::Basename;
use File::Spec;

use Test::More;
use Test::Differences;
use Capture::Tiny qw(capture_stderr);

use_ok("MOP4Import::Util::Inspector");

my $testDir = "$FindBin::Bin/examples";

{
  eq_or_diff(scalar(capture_stderr {
    system $^X ($^X, "-I$testDir", "$testDir/t_Bar.pm")
  }), <<'END', "cmd_help");



( run in 0.499 second using v1.01-cache-2.11-cpan-131fc08a04b )