forked from mohawk2/moox-attribute-env
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
56 lines (53 loc) · 1.34 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
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'MooX::Attribute::ENV',
AUTHOR => q{Ed J <[email protected]>},
VERSION_FROM => 'lib/MooX/Attribute/ENV.pm',
ABSTRACT_FROM => 'lib/MooX/Attribute/ENV.pm',
LICENSE => 'artistic_2',
MIN_PERL_VERSION => '5.008',
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => '0',
},
TEST_REQUIRES => {
'Test::More' => '0.88', # done_testing
},
PREREQ_PM => {
'Moo' => '0',
},
clean => { FILES => 'MooX-Attribute-ENV-*' },
META_MERGE => {
"meta-spec" => { version => 2 },
dynamic_config => 0,
resources => {
x_IRC => 'irc://irc.perl.org/#moose',
repository => {
type => 'git',
url => '[email protected]:mohawk2/moox-attribute-env.git',
web => 'https://github.com/mohawk2/moox-attribute-env',
},
bugtracker => {
web => 'https://github.com/mohawk2/moox-attribute-env/issues',
},
license => [ 'http://dev.perl.org/licenses/' ],
},
prereqs => {
develop => {
requires => {
'Test::Pod::Coverage' => '1.08',
'Test::Pod' => '1.22',
'Pod::Markdown' => 0,
},
},
},
},
);
sub MY::postamble {
-d '.git' ? <<EOF : '';
pure_all :: README.md
README.md : \$(VERSION_FROM)
\tpod2markdown \$< >\$\@
EOF
}