Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 128 lines (106 sloc) 3.383 kB
fa84ef7 @dann made Makefile writing style simple
authored
1 use strict;
2 use warnings;
3
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
4 #use lib 'privinc';
019df49 @dann initial commit
authored
5 use inc::Module::Install;
ce29451 @dann added tests for modperl with Apache::Test
authored
6
8a83fc2 @dann added version to Makefile.PL
authored
7 BEGIN {
8 eval {
ce29451 @dann added tests for modperl with Apache::Test
authored
9 die "not testing mod_perl" unless $ENV{TEST_MODPERL};
10 require mod_perl2;
11 require Apache::Test;
12 };
13 {
14 no strict 'refs';
8a83fc2 @dann added version to Makefile.PL
authored
15 *HAVE_MP = $@ ? sub {0} : sub {1};
ce29451 @dann added tests for modperl with Apache::Test
authored
16 }
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
17
ce29451 @dann added tests for modperl with Apache::Test
authored
18 }
19
20 if (HAVE_MP) {
8a83fc2 @dann added version to Makefile.PL
authored
21
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
22 #include 'Module/Install/PRIVATE/Angelos.pm';
ce29451 @dann added tests for modperl with Apache::Test
authored
23 require Apache::TestMM;
24 Apache::TestMM->import(qw(clean test));
25 }
26
019df49 @dann initial commit
authored
27 name 'Angelos';
28 all_from 'lib/Angelos.pm';
29
fa84ef7 @dann made Makefile writing style simple
authored
30 requires(
da5ebb4 @dann added Data::Util as dependnecy
authored
31
fa84ef7 @dann made Makefile writing style simple
authored
32 # Basics
33 'Mouse' => '0.14',
34 'HTTP::Engine' => 0,
35 'HTTP::Router' => 0,
36 'HTTP::Session' => 0,
37 'Module::Pluggable::Object' => 0,
38 'UNIVERSAL::require' => 0,
39 'Log::Dispatch::Config' => 0,
40 'Log::Dispatch::Configurator' => 0,
41 'Log::Dispatch::Configurator::YAML' => 0,
42 'Log::Dispatch::Colorful' => 0,
43 'String::CamelCase' => 0,
44 'Path::Class' => 0,
45 'Devel::InnerPackage' => 0,
46 'Exception::Class' => 0,
47 'File::Spec' => 0,
48 'IO::Pager' => 0,
49 'Class::Singleton' => 0,
50 'Params::Validate' => 0,
51 'Class::Method::Modifiers::Fast' => 0,
da5ebb4 @dann added Data::Util as dependnecy
authored
52 'Data::Util' => 0,
fa84ef7 @dann made Makefile writing style simple
authored
53
54 # Config
55 'Kwalify' => 0,
56 'YAML' => 0,
57 'Data::Visitor::Callback' => 0,
58
59 # Script
60 'Pod::Simple::Text' => 0,
61 'MouseX::Getopt' => 0,
62 'IPC::System::Simple' => 0,
63 'App::Cmd' => 0,
64 'Module::Setup' => 0,
65 'FindBin::libs' => 0,
66 'File::Slurp' => 0,
67 'File::HomeDir' => 0,
68 'Devel::EvalContext' => 0,
69
70 # BootLoader Plugins
71 'Text::SimpleTable' => 0,
72 'File::Find::Rule' => 0,
73 'Term::ReadLine' => 0,
74 'JSON::XS' => 0,
75 'MIME::Types' => 0,
76
77 # Components
78 'Template' => 0,
79
80 # I18N
81 'Locale::Maketext::Simple' => 0,
82 'Locale::Maketext::Extract' => 0,
83
84 # Controller Plugins (remove from core)
85 'HTML::FillInForm' => 0,
86 'FormValidator::Simple' => 0,
87
88 # View Plugins (remove from core)
89
90 # Middleware
91 'HTTP::MobileAgent' => 0,
92 'Encode::JP::Mobile' => 0,
93 'HTTP::MobileAgent::Plugin::Charset' => 0,
94 'Data::Visitor::Encode' => 0,
95 );
f51219f @dann removed IO::File dependency
authored
96
ce29451 @dann added tests for modperl with Apache::Test
authored
97 if (HAVE_MP) {
98 Apache::TestMM::filter_args();
8a83fc2 @dann added version to Makefile.PL
authored
99
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
100 #Apache::TestMM::generate_script('t/integration/modperl/TEST');
6ac8331 @dann added simple test for mod_perl environment
authored
101 Apache::TestMM::generate_script('t/TEST');
4cd9352 @dann added performance tests to investigate the problem under mod_perl
authored
102 tests('t/integration/modperl/*.t t/performance/020_modperl/*.t');
8a83fc2 @dann added version to Makefile.PL
authored
103 }
104 else {
ce29451 @dann added tests for modperl with Apache::Test
authored
105 tests('t/*.t t/unit/*.t t/unit/*/*.t');
106 author_tests('xt');
107 }
2efcc18 @dann changed test directory structure
authored
108
fa84ef7 @dann made Makefile writing style simple
authored
109 test_requires(
110 'Test::More' => 0,
111 'Test::Differences' => 0,
112 'Test::Deep' => 0,
113 'Test::Exception' => 0,
114 'Test::MockObject' => 0,
115 'Test::Class' => 0,
116 'Test::TCP' => 0,
117 'LWP::UserAgent' => 0,
118 'Module::Load::Conditional' => 0,
119 'Carp::Always' => 0,
120 'Module::Install::AuthorTests' => 0,
121 );
47cbe8b @dann added required modules to Makefile
authored
122
a356f51 @dann use App::CLI for Script classes
authored
123 install_script 'bin/angelos';
4c5b951 @dann added simple starter
authored
124
019df49 @dann initial commit
authored
125 use_test_base;
126 auto_include;
127 WriteAll;
Something went wrong with that request. Please try again.