-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
49 lines (46 loc) · 1.69 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
use ExtUtils::MakeMaker;
my $PREREQ_PM = {
'Data::Transpose' => '0.0020',
'Moo' => 0,
'namespace::clean' => 0,
};
# we are for D1 and D2 and don't want to force users to have both but we
# do want smokers to test on both
if ( $ENV{AUTOMATED_TESTING} || $ENV{TRAVIS} eq 'true' ) {
$PREREQ_PM->{Dancer} = 0;
$PREREQ_PM->{Dancer2} = '0.15';
}
WriteMakefile(
NAME => 'Dancer::Plugin::DataTransposeValidator',
AUTHOR => 'Peter Mottram <[email protected]>',
VERSION_FROM => 'lib/Dancer/Plugin/DataTransposeValidator.pm',
ABSTRACT => 'Data::Transpose::Validator plugin for Dancer and Dancer2',
( $ExtUtils::MakeMaker::VERSION >= 6.48
? ( 'LICENSE' => 'perl' )
: () ),
MIN_PERL_VERSION => '5.010000',
BUILD_REQUIRES => {
'Class::Load' => 0,
'Email::Valid' => 0,
'File::Spec' => 0,
'HTTP::Request::Common' => 0,
'JSON' => 0,
'Plack' => '1.0035',
'Test::Deep' => 0,
'Test::Exception' => 0,
'Test::More' => 0,
},
PREREQ_PM => $PREREQ_PM,
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Dancer-Plugin-DataTransposeValidator-*' },
test => { TESTS => join( ' ', ( glob('t/*.t'), glob('t/*/*.t') ) ) },
META_MERGE => {
resources => {
repository =>
'https://github.com/interchange/Dancer-Plugin-DataTransposeValidator.git',
bugtracker =>
'https://github.com/interchange/Dancer-Plugin-DataTransposeValidator/issues',
IRC => 'irc://irc.freenode.net/#interchange',
},
},
);