Commit | Line | Data |
a4891190 |
1 | use strict; |
2 | use warnings FATAL => 'all'; |
3 | use ExtUtils::MakeMaker; |
5661e08c |
4 | use 5.006; |
a4891190 |
5 | |
e86dd03e |
6 | # TODO: convert to dzil and use [OnlyCorePrereqs], and possibly [DualLife] |
7 | |
f1d18ad3 |
8 | (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; |
a4891190 |
9 | |
10 | WriteMakefile( |
11 | NAME => 'Module::Metadata', |
4850170c |
12 | VERSION_FROM => 'lib/Module/Metadata.pm', |
d903922c |
13 | ABSTRACT_FROM => 'lib/Module/Metadata.pm', |
14 | LICENSE => 'perl', |
c3a12878 |
15 | MIN_PERL_VERSION => '5.006', |
4850170c |
16 | PREREQ_PM => { |
8f9f6d27 |
17 | 'Carp' => 0, |
18 | 'File::Find' => 0, |
19 | 'File::Spec' => 0, |
8f9f6d27 |
20 | 'strict' => 0, |
eed8b6fa |
21 | 'warnings' => 0, |
8f9f6d27 |
22 | 'vars' => 0, |
23 | 'version' => 0.87, |
24 | 'warnings' => 0, |
8d86d0e2 |
25 | $] < 5.008 |
26 | ? ( 'IO::Scalar' => 0 ) |
27 | : () |
28 | , |
4850170c |
29 | }, |
f0839c2d |
30 | -f 'META.yml' ? () : ( |
7e57a40e |
31 | META_MERGE => { |
5ebfae52 |
32 | 'meta-spec' => { version => 2 }, |
7e57a40e |
33 | dynamic_config => 0, |
34 | resources => { |
e39df202 |
35 | repository => { |
3f263346 |
36 | url => 'git@github.com:Perl-Toolchain-Gang/Module-Metadata.git', |
37 | web => 'https://github.com/Perl-Toolchain-Gang/Module-Metadata', |
e39df202 |
38 | type => 'git', |
39 | }, |
40 | bugtracker => { |
41 | mailto => 'bug-Module-Metadata@rt.cpan.org', |
42 | web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Metadata', |
43 | }, |
7e57a40e |
44 | }, |
e86dd03e |
45 | prereqs => { |
b813e141 |
46 | test => { |
47 | requires => { |
e86dd03e |
48 | 'Test::More' => 0, |
49 | 'Carp' => 0, |
50 | 'Config' => 0, |
51 | 'Cwd' => 0, |
52 | 'Data::Dumper' => 0, |
53 | 'Exporter' => 0, |
54 | 'File::Basename' => 0, |
55 | 'File::Find' => 0, |
56 | 'File::Path' => 0, |
57 | 'File::Spec' => 0, |
58 | 'File::Temp' => 0, |
59 | 'IO::File' => 0, |
60 | }, |
61 | }, |
62 | }, |
f0839c2d |
63 | } ), |
a4891190 |
64 | ); |