-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile.PL
More file actions
48 lines (44 loc) · 1.21 KB
/
Makefile.PL
File metadata and controls
48 lines (44 loc) · 1.21 KB
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
use 5.010001;
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'SQL::Tiny',
AUTHOR => q{Andy Lester <andy@petdance.com>},
VERSION_FROM => 'lib/SQL/Tiny.pm',
ABSTRACT_FROM => 'lib/SQL/Tiny.pm',
LICENSE => 'artistic_2',
PL_FILES => {},
MIN_PERL_VERSION => '5.010001',
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => '0',
},
BUILD_REQUIRES => {
'Test::More' => '1.302007_002',
},
PREREQ_PM => {
# None
},
META_MERGE => {
resources => {
bugtracker => 'https://github.com/petdance/sql-tiny/issues',
license => 'https://www.perlfoundation.org/artistic-license-20.html',
repository => 'git://github.com/petdance/sql-tiny.git',
},
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'SQL-Tiny-*' },
);
sub MY::postamble {
return <<'MAKE_FRAG';
.PHONY: tags critic
critic:
perlcritic -1 -q -profile perlcriticrc lib/SQL/Tiny.pm t/*.t
tags:
ctags -f tags --recurse --totals \
--exclude=blib \
--exclude=.git \
--exclude='*~' \
--languages=Perl --langmap=Perl:+.t \
MAKE_FRAG
}