-
Notifications
You must be signed in to change notification settings - Fork 81
/
Makefile.PL
51 lines (47 loc) · 1.67 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
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %options = (
NAME => 'Data::Printer',
AUTHOR => 'Breno G. de Oliveira <garu@cpan.org>',
VERSION_FROM => 'lib/Data/Printer.pm',
ABSTRACT_FROM => 'lib/Data/Printer.pm',
LICENSE => 'perl',
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
'Scalar::Util' => 0,
'version' => 0.77, # handling VSTRINGS
'File::Spec' => 0,
'File::Temp' => 0,
'Fcntl' => 0,
},
META_MERGE => {
resources => {
license => 'http://dev.perl.org/licenses/',
bugtracker => 'https://github.com/garu/Data-Printer/issues/',
repository => 'https://github.com/garu/Data-Printer',
},
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Data-Printer-*' },
);
if ($^O =~ /Win32/i) {
$options{PREREQ_PM}{'Win32::Console::ANSI'} = 1.0;
}
if ($ENV{DDPTESTCOVERAGE}) {
foreach my $p (qw(
DBI DBD::SQLite DBIx::Class
Time::Piece DateTime::TimeZone DateTime::Incomplete DateTime::Tiny
Date::Tiny Date::Calc Date::Pcalc Date::Handler
Date::Handler::Delta Date::Simple Date::Manip Panda::Date
DateTime DateTime::Duration Mojolicious Class::Date Class::Date::Rel
Digest::MD5 Digest::SHA Digest::MD2 Digest::MD4
JSON::PP JSON::XS JSON JSON::Any JSON::MaybeXS JSON::DWIW
JSON::SL Pegex::JSON Cpanel::JSON::XS JSON::Tiny JSON::Typist Dancer
Dancer2 HTTP::Message
)) {
$options{PREREQ_PM}{$p} = 0;
}
}
WriteMakefile( %options );