Dist-Zilla-Plugin-RequiresExternal

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         "requires" : {
            "Dist::Zilla::App" : "0",
            "Dist::Zilla::File::InMemory" : "0",
            "Dist::Zilla::Role::FileGatherer" : "0",
            "Dist::Zilla::Role::MetaProvider" : "0",
            "Dist::Zilla::Role::Plugin" : "0",
            "Dist::Zilla::Role::TextTemplate" : "0",
            "English" : "0",
            "Env::Path" : "0.18",
            "List::MoreUtils" : "0",
            "Modern::Perl" : "0",
            "Moose" : "0",
            "MooseX::AttributeShortcuts" : "0",
            "MooseX::Types::Moose" : "0",
            "Path::Class" : "0",
            "Test::Most" : "0",
            "namespace::autoclean" : "0",
            "perl" : "5.010",
            "utf8" : "0"
         }
      },

META.yml  view on Meta::CPAN

requires:
  Dist::Zilla::App: '0'
  Dist::Zilla::File::InMemory: '0'
  Dist::Zilla::Role::FileGatherer: '0'
  Dist::Zilla::Role::MetaProvider: '0'
  Dist::Zilla::Role::Plugin: '0'
  Dist::Zilla::Role::TextTemplate: '0'
  English: '0'
  Env::Path: '0.18'
  List::MoreUtils: '0'
  Modern::Perl: '0'
  Moose: '0'
  MooseX::AttributeShortcuts: '0'
  MooseX::Types::Moose: '0'
  Path::Class: '0'
  Test::Most: '0'
  namespace::autoclean: '0'
  perl: '5.010'
  utf8: '0'
resources:
  bugtracker: https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal/issues

Makefile.PL  view on Meta::CPAN

  "PREREQ_PM" => {
    "Dist::Zilla::App" => 0,
    "Dist::Zilla::File::InMemory" => 0,
    "Dist::Zilla::Role::FileGatherer" => 0,
    "Dist::Zilla::Role::MetaProvider" => 0,
    "Dist::Zilla::Role::Plugin" => 0,
    "Dist::Zilla::Role::TextTemplate" => 0,
    "English" => 0,
    "Env::Path" => "0.18",
    "List::MoreUtils" => 0,
    "Modern::Perl" => 0,
    "Moose" => 0,
    "MooseX::AttributeShortcuts" => 0,
    "MooseX::Types::Moose" => 0,
    "Path::Class" => 0,
    "Test::Most" => 0,
    "namespace::autoclean" => 0,
    "utf8" => 0
  },
  "TEST_REQUIRES" => {
    "Carp" => 0,

lib/Dist/Zilla/Plugin/RequiresExternal.pm  view on Meta::CPAN

package Dist::Zilla::Plugin::RequiresExternal;

# ABSTRACT: make dists require external commands

use Modern::Perl '2010';    ## no critic (Modules::ProhibitUseQuotedVersion)

our $VERSION = '1.009';     # VERSION
use utf8;

#pod =for test_synopsis
#pod BEGIN { die "SKIP: this is ini, not perl\n" }
#pod
#pod =head1 SYNOPSIS
#pod
#pod In your F<dist.ini>:

t/externaldeps.t  view on Meta::CPAN

#!/usr/bin/env perl

use Modern::Perl '2010';    ## no critic (Modules::ProhibitUseQuotedVersion)
use Test::More 'no_plan';
use Test::Output 1.031;
use Cwd;
use Dist::Zilla::App;

my $cwd = getcwd();
chdir 't/eg';
local @ARGV = ('externaldeps');
my $stdout = stdout_from { Dist::Zilla::App->run };
chdir $cwd;

t/fatal.t  view on Meta::CPAN

#!/usr/bin/env perl

use Modern::Perl '2010';    ## no critic (Modules::ProhibitUseQuotedVersion)
use English '-no_match_vars';
use Test::Most tests => 3;
use Test::DZil;

my $tzil = Builder->from_config(
    { dist_root => 1 },
    {   add_files => {
            'source/dist.ini' => simple_ini(
                ['@Basic'],
                [   RequiresExternal => {

t/release-portability.t  view on Meta::CPAN

}

BEGIN {
    if ( not $ENV{RELEASE_TESTING} ) {
        require Test::More;
        Test::More::plan(
            skip_all => 'these tests are for release candidate testing' );
    }
}

use Modern::Perl '2010';    ## no critic (Modules::ProhibitUseQuotedVersion)
use Test::More;

eval 'use Test::Portability::Files';
plan skip_all => 'Test::Portability::Files required for testing portability'
    if $@;

options( test_one_dot => 0 );
run_tests();

t/test.t  view on Meta::CPAN

#!/usr/bin/env perl

use Modern::Perl '2010';    ## no critic (Modules::ProhibitUseQuotedVersion)
use Config;
use English '-no_match_vars';
use Test::Most tests => 3;
use Test::DZil;
use Env::Path 'PATH';
use Path::Class;

my $perl = file($EXECUTABLE_NAME);
if ( $OSNAME ne 'VMS' ) {
    $perl = file("$perl$Config{_exe}") unless $perl =~ m/$Config{_exe}$/i;

xt/author/perlcritic.rc  view on Meta::CPAN

severity = brutal
verbose = 8
exclude = Modules::RequirePerlVersion Editor::RequireEmacsFileVariables Miscellanea::RequireRcsKeywords Modules::RequireExplicitInclusion Modules::RequireExplicitPackage Tics::ProhibitLongLines CodeLayout::ProhibitHashBarewords

[Lax::RequireExplicitPackage::ExceptForPragmata]
allowed_pragmata = diagnostics feature perlversion strict warnings utf8

[CodeLayout::RequireTidyCode]
perltidyrc = xt/author/perltidy.rc

# since we're using Modern::Perl
[Compatibility::PerlMinimumVersionAndWhy]
above_version = 5.010
[Compatibility::PodMinimumVersion]
above_version = 5.010

[Documentation::PodSpelling]
stop_words = Perldoc perldoc annonations PASSed dists executables metadata plugin

[Documentation::RequirePodSections]
lib_sections    = NAME | VERSION | DESCRIPTION | SYNOPSIS | COPYRIGHT AND LICENSE
script_sections = NAME | USAGE | OPTIONS | EXIT STATUS | COPYRIGHT AND LICENSE

[Subroutines::ProhibitCallsToUndeclaredSubs]
exempt_subs = Moose::has Moose::with MooseX::Has::Sugar::auto_deref MooseX::Has::Sugar::lazy MooseX::Has::Sugar::required MooseX::Has::Sugar::ro Path::Class::file

[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Modern::Perl

[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Modern::Perl

[InputOutput::RequireCheckedSyscalls]
functions = :builtins
exclude_functions = print say

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 6.471 seconds using v1.00-cache-2.02-grep-82fe00e-cpan-f5108d614456 )