-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
74 lines (63 loc) · 3.38 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
use inc::Module::Install;
name 'Hoya';
all_from 'lib/Hoya.pm';
requires 'UNIVERSAL::require'; #
requires 'Plack'; #
requires 'Plack::Session'; # Hoya::Action
requires 'Plack::Middleware::Session'; #
requires 'URI::Escape'; # Hoya::Mapper::URL, Hoya::View::MT
requires 'YAML::Syck'; # Hoya::Config::Core?, Hoya::DSH::DBI, Hoya::Form, Hoya::Mapper::URL, Hoya::Mapper::UserAgent
requires 'JSON::Syck'; #
requires 'UUID::Tiny'; # Hoya::Util
requires 'Data::Recursive::Encode'; # Hoya::Util
requires 'Hash::Merge'; # Hoya::Util, Hoya::Mapper::URL
requires 'Hash::MultiValue'; # Hoya::Util, Hoya::Action, Hoya::Action::* (dynamically), Hoya::Model::* (dynamically), Hoya::Form::Validator, Hoya::Mapper::URL,
requires 'XML::TreePP'; # Hoya::View
requires 'Text::Xslate'; # Hoya::View::Xslate
requires 'Text::MicroTemplate::Extended'; # Hoya::View::MT
requires 'Cache::FileCache'; # Hoya::DSH;
requires 'DBI'; # Hoya::DSH::DBIx::Skinny, Hoya::DSH::DBI
requires 'DBIx::Skinny' => '0.0727'; # Hoya::DSH::DBIx::Skinny
requires 'Digest::SHA1'; # Hoya::DSH::DBI
requires 'Try::Tiny'; # almost all in Hoya modules
requires 'Log::Dispatch'; #
requires 'Data::Dumper'; # Hoya::Util
requires 'Data::Dump'; # Hoya::Util
requires 'Params::Validate'; # Hoya::Model::* (dynamically), Hoya::Action, Hoya::Form::Validator,
requires 'List::MoreUtils'; # Hoya::Form::Validator
requires 'Data::Page'; # Hoya::Action, Hoya::Model::* (dynamically)
if ($ENV{HOYA_USE_X}) {
#requires 'Log::Dispatch::DesktopNotification'; # optional
requires 'MIME::Lite'; # Hoya::X::Mail
requires 'MIME::Types'; # Hoya::X::Mail?
requires 'Image::Magick';
requires 'Image::Size';
requires 'PDF::API2'; # Hoya::X::PDF
requires 'PDF::API2::Lite'; # Hoya::X::PDF
requires 'LWP::UserAgent'; # Hoya::X::Business::Payment::Epsilon
requires 'Crypt::SSLeay'; # Hoya::X::Business::Payment::Epsilon
requires 'XML::Simple'; # Hoya::X::Business::Payment::Epsilon
requires 'HTML::TreeBuilder'; # Hoya::X::Business::Payment::Epsilon
requires 'HTML::Entities'; # Hoya::X::Business::Payment::Epsilon
requires 'HTTP::Request::Common'; # Hoya::X::Business::Payment::Epsilon
}
test_requires 'Test::More'; # *.t
test_requires 'Test::These'; # *.t
test_requires 'Data::Random'; # Hoya::Re
test_requires 'Data::Random::WordList'; # Hoya::Re
test_requires 'Clone'; # Hoya::Action, Hoya::X::Params::Validate::Spec
test_requires 'Text::MediawikiFormat'; # Hoya::X::Text::MediawikiFormat
my %params_test_target_common = (
includes => [qw{lib t/lib}],
load_modules => [qw/local::lib=extlib/],
env => {},
);
default_test_target (
%params_test_target_common,
tests => [ 't/*.t', 't/*/*.t', 't/*/*/*.t' ],
);
author_tests 'xt';
auto_install;
auto_set_repository;
auto_include;
WriteAll;