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