-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile.PL
85 lines (74 loc) · 2.23 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
use inc::Module::Install;
name 'Ark';
license 'perl';
all_from 'lib/Ark.pm';
test_requires 'Test::More' => '0.96';
test_requires 'Test::Output';
perl_version '5.008001';
requires 'Plack';
requires 'Plack::Request';
requires 'CGI::Simple';
requires 'Any::Moose' => '0.11';
requires 'Try::Tiny' => '0.02';
requires 'Path::Class' => '0.16';
requires 'URI';
requires 'URI::WithBase';
requires 'Text::SimpleTable';
requires 'Module::Pluggable::Object';
requires 'Data::Util';
requires 'Class::Data::Inheritable';
requires 'HTML::Entities';
requires 'Data::UUID';
requires 'Digest::SHA1';
requires 'Devel::StackTrace';
requires 'Class::Method::Modifiers::Fast';
requires 'Exporter::AutoClean';
requires 'Object::Container' => '0.08';
requires 'Path::AttrRouter' => '0.02';
requires 'MouseX::Foreign';
# build-in form generator/validator
requires 'HTML::Shakan' => '0.03';
requires 'Clone';
features(
'Support MicroTemplate template engine' => [
-default => 1,
recommends('Text::MicroTemplate::Extended' => '0.09'),
],
'Support DBIx::Class OR Mapper' => [
-default => 0,
recommends('DBIx::Class'),
recommends('DBD::SQLite'),
],
'Support OpenID Authentication' => [
-default => 0,
recommends('Net::OpenID::Consumer'),
recommends('LWPx::ParanoidAgent'),
],
'Support I18N' => [
-default => 1,
recommends('Locale::Maketext::Lexicon'),
recommends('Locale::Maketext::Simple'),
],
'Support Mobile App' => [
-default => 0,
recommends('Encode::JP::Mobile'),
recommends('HTTP::MobileAgent'),
recommends('HTTP::MobileAgent::Plugin::Charset'),
recommends('OAuth::Lite'),
],
);
use_test_base;
author_tests('xt');
if ($ENV{ANY_MOOSE_TEST} && author_context()) {
# gfx++
# repeat testing
# see also ExtUtils::MM_Any::test_via_harness()
my $test_moose = q{$(FULLPERLRUN) -MExtUtils::Command::MM -e}
.q{ "do 'tools/force-moose.pl'; }
.q{test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')"}
.q{ $(TEST_FILES)} . "\n";
postamble qq{test_dynamic :: moose\n\n}
. qq{moose ::\n}
. qq{\t} . $test_moose;
}
WriteAll;