-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.PL
More file actions
69 lines (61 loc) · 1.78 KB
/
Copy pathMakefile.PL
File metadata and controls
69 lines (61 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# This Makefile.PL for App-Yath-Script was generated by
# Dist::Zilla::Plugin::MakeMaker::Awesome 0.49.
# Don't edit it but the dist.ini and plugins used to construct it.
use strict;
use warnings;
use 5.014000;
use ExtUtils::MakeMaker;
if ($ENV{AUTOMATED_TESTING}) {
my $is_njh = 0;
$is_njh ||= -d '/export/home/njh';
$is_njh ||= -d '/home/njh';
$is_njh ||= lc($ENV{USER} // 'na') eq 'njh';
$is_njh ||= lc($ENV{HOME} // 'na') =~ m{njh$};
$is_njh ||= lc($ENV{PATH} // 'na') =~ m{/njh/};
die "OS unsupported\nNJH smokers are broken, aborting tests.\n"
if $is_njh;
}
my %WriteMakefileArgs = (
"ABSTRACT" => "Script initialization and utility functions for Test2::Harness",
"AUTHOR" => "Chad Granum <exodist7\@gmail.com>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "App-Yath-Script",
"EXE_FILES" => [
"scripts/yath"
],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.014000",
"NAME" => "App::Yath::Script",
"PREREQ_PM" => {
"Carp" => 0,
"Cwd" => "3.75",
"File::Spec" => 0,
"Getopt::Yath" => "2.000008",
"Importer" => "0.025"
},
"TEST_REQUIRES" => {
"Test2::V0" => "1.302199"
},
"VERSION" => "2.000018",
"test" => {
"TESTS" => "t/acceptance/*.t t/unit/*.t t/unit/Script/*.t"
}
);
my %FallbackPrereqs = (
"Carp" => 0,
"Cwd" => "3.75",
"File::Spec" => 0,
"Getopt::Yath" => "2.000008",
"Importer" => "0.025",
"Test2::V0" => "1.302199"
);
unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);