-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile.PL
62 lines (52 loc) · 1.62 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
use strict;
use warnings;
use inc::Module::Install;
name("Moxy");
all_from("lib/Moxy.pm");
{
no warnings 'redefine';
*recommends_hack = $Module::Install::VERSION > 0.70 ?
sub { recommends(@_); $_[0] } :
\&recommends;
}
requires 'Plack' => '0.9032';
requires 'Plack::Middleware::ReverseProxy' => '0.05';
requires 'Class::Component' => 0.17;
requires 'Encode::JP::Mobile' => 0.25;
requires 'HTML::ReplacePictogramMobileJp' => 0.06;
requires 'HTML::Tree' => 3.23;
requires 'HTML::TreeBuilder::XPath' => 0.09;
requires 'Params::Validate' => 0.91;
requires 'Template' => 2.19;
requires 'UNIVERSAL::require' => '0.11';
requires 'Class::Accessor';
requires 'HTTP::MobileAttribute' => 0.13;
requires 'Path::Class';
requires 'HTTP::Session' => 0.41;
requires 'HTTP::Cookies'; # part of LWP
requires 'Test::More' => 0.98;
test_requires('Test::More' => 0.98);
test_requires('Test::Requires');
features(
'Better Encoding detection' => [
recommends_hack('Encode::Detect', 1.0),
-default => 0,
],
'Plugin::StripScripts' => [
recommends_hack('HTML::StripScripts', 1.04),
recommends_hack('HTML::StripScripts::Parser', 1.02),
-default => 0,
],
'Plugin::Scrubber' => [
recommends_hack('HTML::Scrubber', 1.04),
-default => 0,
],
);
tests 't/*.t t/*/*.t t/*/*/*.t';
if (eval "use Module::Install::AuthorTests;1;") {
author_tests('xt');
}
test_requires 'Test::Base';
auto_set_repository();
install_script glob('script/*.pl');
WriteAll;