-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
101 lines (94 loc) · 2.98 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
91
92
93
94
95
96
97
98
99
100
101
use 5.006;
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
ABSTRACT => 'dotfiles manager',
AUTHOR => 'Sven Kirmess <[email protected]>',
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 0,
},
DISTNAME => 'App-Dotfiles',
EXE_FILES => [
'bin/dotf',
],
LICENSE => 'open_source',
MIN_PERL_VERSION => '5.006',
NAME => 'App::Dotfiles',
PREREQ_PM => {
Carp => 0,
'Config::Std' => 0,
'File::Copy' => 0,
'File::HomeDir::Tiny' => 0,
'File::Spec' => 0,
'Getopt::Long' => 0,
'Git::Wrapper' => 0,
Moo => 0,
'Moo::Role' => 0,
'Path::Tiny' => 0,
'Pod::Usage' => '1.69',
'Safe::Isa' => 0,
'Try::Tiny' => 0,
'custom::failures' => 0,
'namespace::clean' => 0,
strict => 0,
warnings => 0,
},
TEST_REQUIRES => {
'Capture::Tiny' => 0,
Cwd => 0,
English => 0,
Exporter => 0,
'File::Basename' => 0,
'File::Path' => '2.07',
'File::Spec::Functions' => 0,
'Test::Fatal' => 0,
'Test::More' => '0.88',
'Test::Script' => '1.09',
lib => 0,
},
VERSION => '0.001',
test => {
TESTS => 't/*.t',
},
);
my %FallbackPrereqs = (
'Capture::Tiny' => 0,
Carp => 0,
'Config::Std' => 0,
Cwd => 0,
English => 0,
Exporter => 0,
'File::Basename' => 0,
'File::Copy' => 0,
'File::HomeDir::Tiny' => 0,
'File::Path' => '2.07',
'File::Spec' => 0,
'File::Spec::Functions' => 0,
'Getopt::Long' => 0,
'Git::Wrapper' => 0,
Moo => 0,
'Moo::Role' => 0,
'Path::Tiny' => 0,
'Pod::Usage' => '1.69',
'Safe::Isa' => 0,
'Test::Fatal' => 0,
'Test::More' => '0.88',
'Test::Script' => '1.09',
'Try::Tiny' => 0,
'custom::failures' => 0,
lib => 0,
'namespace::clean' => 0,
strict => 0,
warnings => 0,
);
if ( !eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
if ( !eval { ExtUtils::MakeMaker->VERSION(6.52) } ) {
delete $WriteMakefileArgs{CONFIGURE_REQUIRES};
}
WriteMakefile(%WriteMakefileArgs);
# vim: ts=4 sts=4 sw=4 et: syntax=perl