forked from hdp/Git-Wrapper
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Makefile.PL
90 lines (81 loc) · 2.16 KB
/
Makefile.PL
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# This Makefile.PL for Git-Wrapper was generated by
# inc::CheckGitConfig <self>
# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
# Don't edit it but the dist.ini and plugins used to construct it.
use strict;
use warnings;
# inserted by Dist::Zilla::Plugin::CheckBin 0.008
use Devel::CheckBin;
check_bin('git');
require File::Spec;
die 'Unable to run "git config --list". Do you need to add a ~/.gitconfig file?'
if system('git config --list >'.File::Spec->devnull);
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "Wrap git(7) command-line interface",
"AUTHOR" => "Hans Dieter Pearcey <hdp\@cpan.org>, Chris Prather <chris\@prather.org>, John SJ Anderson <genehack\@genehack.org>",
"CONFIGURE_REQUIRES" => {
"Devel::CheckBin" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0
},
"DISTNAME" => "Git-Wrapper",
"LICENSE" => "perl",
"NAME" => "Git::Wrapper",
"PREREQ_PM" => {
"File::Temp" => 0,
"File::chdir" => 0,
"IPC::Cmd" => 0,
"IPC::Run3" => 0,
"Scalar::Util" => 0,
"Sort::Versions" => 0,
"Symbol" => 0,
"overload" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Cwd" => 0,
"File::Path" => 0,
"File::Spec" => 0,
"File::Temp" => 0,
"IO::File" => 0,
"POSIX" => 0,
"Sort::Versions" => 0,
"Test::Deep" => 0,
"Test::Exception" => 0,
"Test::More" => 0
},
"VERSION" => "1.334",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Cwd" => 0,
"File::Path" => 0,
"File::Spec" => 0,
"File::Temp" => 0,
"File::chdir" => 0,
"IO::File" => 0,
"IPC::Cmd" => 0,
"IPC::Run3" => 0,
"POSIX" => 0,
"Scalar::Util" => 0,
"Sort::Versions" => 0,
"Symbol" => 0,
"Test::Deep" => 0,
"Test::Exception" => 0,
"Test::More" => 0,
"overload" => 0,
"strict" => 0,
"warnings" => 0
);
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);