-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
63 lines (60 loc) · 1.64 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
57
58
59
60
61
62
63
use 5.008001;
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'GraphQL::Plugin::Convert::MojoPubSub',
AUTHOR => q{Ed J <[email protected]>},
VERSION_FROM => 'lib/GraphQL/Plugin/Convert/MojoPubSub.pm',
ABSTRACT_FROM => 'lib/GraphQL/Plugin/Convert/MojoPubSub.pm',
LICENSE => 'artistic_2',
MIN_PERL_VERSION => '5.014',
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => '7.10',
},
TEST_REQUIRES => {
'Test::More' => '0.98',
'Mojolicious::Plugin::GraphQL' => '0.16', # keepalive
'Test::Snapshot' => '0.02', # better snapshot filenames
},
PREREQ_PM => {
'GraphQL' => '0.40', # subscriptions
},
clean => { FILES => 'GraphQL-Plugin-Convert-MojoPubSub-*' },
META_MERGE => {
"meta-spec" => { version => 2 },
dynamic_config => 0,
resources => {
x_IRC => 'irc://irc.perl.org/#graphql-perl',
repository => {
type => 'git',
url => '[email protected]:graphql-perl/GraphQL-Plugin-Convert-MojoPubSub.git',
web => 'https://github.com/graphql-perl/GraphQL-Plugin-Convert-MojoPubSub',
},
bugtracker => {
web => 'https://github.com/graphql-perl/GraphQL-Plugin-Convert-MojoPubSub/issues',
},
license => [ 'http://dev.perl.org/licenses/' ],
},
prereqs => {
develop => {
requires => {
'Test::Pod' => '1.22',
'Pod::Markdown' => 0,
},
},
test => {
recommends => {
'Mojo::Redis' => '3.24',
},
},
},
},
);
sub MY::postamble {
<<EOF;
pure_all :: README.md
README.md : \$(VERSION_FROM)
\tpod2markdown \$< >\$\@
EOF
}