-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.PL
65 lines (62 loc) · 1.62 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
use 5.008001;
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Test::Snapshot',
AUTHOR => q{Ed J <[email protected]>},
VERSION_FROM => 'lib/Test/Snapshot.pm',
ABSTRACT_FROM => 'lib/Test/Snapshot.pm',
LICENSE => 'artistic_2',
MIN_PERL_VERSION => '5.008003', # first with right Exporter
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => '7.04',
},
TEST_REQUIRES => {
'Test::More' => '0.96', # subtest does done_testing
'Test2::API' => '0',
'Capture::Tiny' => 0,
'App::Prove' => 0,
'Text::Diff' => '0',
},
PREREQ_PM => {
'Test::More' => '0.96', # subtest does done_testing
'Test2::API' => '0',
'Exporter' => '5.57', # exported "import"
'File::Path' => '2.07', # make_path
'Text::Diff' => '0',
},
clean => { FILES => 'Test-Snapshot-*' },
META_MERGE => {
"meta-spec" => { version => 2 },
dynamic_config => 0,
resources => {
x_IRC => 'irc://irc.perl.org/#graphql-perl',
repository => {
type => 'git',
url => '[email protected]:mohawk2/Test-Snapshot.git',
web => 'https://github.com/mohawk2/Test-Snapshot',
},
bugtracker => {
web => 'https://github.com/mohawk2/Test-Snapshot/issues',
},
license => [ 'http://dev.perl.org/licenses/' ],
},
prereqs => {
develop => {
requires => {
'Test::CheckManifest' => '0.9',
'Test::Pod' => '1.22',
'Pod::Markdown' => 0,
},
},
},
},
);
sub MY::postamble {
<<EOF;
pure_all :: README.md
README.md : \$(VERSION_FROM)
\tpod2markdown \$< >\$\@
EOF
}