Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 112 lines (93 sloc) 2.47 kb
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
1 #use lib 'privinc';
019df49 @dann initial commit
authored
2 use inc::Module::Install;
ce29451 @dann added tests for modperl with Apache::Test
authored
3
4 BEGIN
5 {
6 eval {
7 die "not testing mod_perl" unless $ENV{TEST_MODPERL};
8 require mod_perl2;
9 require Apache::Test;
10 };
11 {
12 no strict 'refs';
13 *HAVE_MP = $@ ? sub { 0 } : sub { 1 };
14 }
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
15
ce29451 @dann added tests for modperl with Apache::Test
authored
16 }
17
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
18
ce29451 @dann added tests for modperl with Apache::Test
authored
19 if (HAVE_MP) {
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
20 #include 'Module/Install/PRIVATE/Angelos.pm';
ce29451 @dann added tests for modperl with Apache::Test
authored
21 require Apache::TestMM;
22 Apache::TestMM->import(qw(clean test));
23 }
24
019df49 @dann initial commit
authored
25 name 'Angelos';
26 all_from 'lib/Angelos.pm';
27
5361246 @dann added sample implementation for form validator plugin
authored
28 # Core
3cab5b8 @dann Mouse 0.14 is needed
authored
29 requires 'Mouse' => '0.14';
47cbe8b @dann added required modules to Makefile
authored
30 requires 'HTTP::Engine';
6e9ebeb @dann added modules
authored
31 requires 'HTTP::Router';
32 requires 'HTTP::Session';
47cbe8b @dann added required modules to Makefile
authored
33 requires 'Module::Pluggable::Object';
6e9ebeb @dann added modules
authored
34 requires 'UNIVERSAL::require';
47cbe8b @dann added required modules to Makefile
authored
35 requires 'Log::Dispatch::Config';
36 requires 'Log::Dispatch::Configurator';
37 requires 'Log::Dispatch::Configurator::YAML';
9f6e8ea @dann added Log::Dispatch::Colorful to dependency
authored
38 requires 'Log::Dispatch::Colorful';
3cab5b8 @dann Mouse 0.14 is needed
authored
39 requires 'String::CamelCase';
47cbe8b @dann added required modules to Makefile
authored
40 requires 'Path::Class';
23bee73 @dann added modperl test script
authored
41 requires 'Devel::InnerPackage';
42 requires 'Exception::Class';
e59d5b0 @dann changed directory structure to separate core and extensions
authored
43 requires 'File::Spec';
75beb4c @dann use pager when the command shows manual
authored
44 requires 'IO::Pager';
9bc0cab @dann moved plugins to plugin dir
authored
45 requires 'Class::Singleton';
ebcddee @dann implemented forward, detach, visit, go
authored
46 requires 'Params::Validate';
8b4f2ca @dann implemented config substitution
authored
47
48 # components
49 requires 'Template';
50
51 # i18n
3cab5b8 @dann Mouse 0.14 is needed
authored
52 requires 'Locale::Maketext::Simple';
53 requires 'Locale::Maketext::Extract';
54
8b4f2ca @dann implemented config substitution
authored
55 # config
3cab5b8 @dann Mouse 0.14 is needed
authored
56 requires 'Kwalify';
47cbe8b @dann added required modules to Makefile
authored
57 requires 'YAML';
8b4f2ca @dann implemented config substitution
authored
58 requires 'Data::Visitor::Callback';
59
23bee73 @dann added modperl test script
authored
60 # script
6e9ebeb @dann added modules
authored
61 requires 'Pod::Simple::Text';
4ac5687 @dann updated manual
authored
62 requires 'MouseX::Getopt';
efad088 @dann added flavor command for angelos developer
authored
63 requires 'IPC::System::Simple';
23bee73 @dann added modperl test script
authored
64 requires 'App::Cmd';
65 requires 'Module::Setup';
66 requires 'FindBin::libs';
6517701 @dann moved Console classes from Script::Command to Angelos::Console
authored
67 requires 'File::Slurp';
68 requires 'File::HomeDir';
69 requires 'Devel::EvalContext';
5361246 @dann added sample implementation for form validator plugin
authored
70
71 # debug
72 requires 'Text::SimpleTable';
23bee73 @dann added modperl test script
authored
73 requires 'File::Find::Rule';
5361246 @dann added sample implementation for form validator plugin
authored
74
75 # should not be in core
76 # will separate these modules from core
94b3d29 @dann fixed mod_perl degrade orz
authored
77 requires 'Term::ReadLine';
5361246 @dann added sample implementation for form validator plugin
authored
78 requires 'JSON::XS';
79 requires 'MIME::Types';
80
f51219f @dann removed IO::File dependency
authored
81 # Middleware
82 requires 'File::stat';
83
ce29451 @dann added tests for modperl with Apache::Test
authored
84 if (HAVE_MP) {
85 Apache::TestMM::filter_args();
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
86 #Apache::TestMM::generate_script('t/integration/modperl/TEST');
6ac8331 @dann added simple test for mod_perl environment
authored
87 Apache::TestMM::generate_script('t/TEST');
4cd9352 @dann added performance tests to investigate the problem under mod_perl
authored
88 tests('t/integration/modperl/*.t t/performance/020_modperl/*.t');
ce29451 @dann added tests for modperl with Apache::Test
authored
89 } else {
90 tests('t/*.t t/unit/*.t t/unit/*/*.t');
91 author_tests('xt');
92 }
2efcc18 @dann changed test directory structure
authored
93
94 test_requires 'Test::More';
b83f56f @dann updated base test classes
authored
95 test_requires 'Test::Differences';
96 test_requires 'Test::Deep';
97 test_requires 'Test::Exception';
2efcc18 @dann changed test directory structure
authored
98 test_requires 'Test::MockObject';
99 test_requires 'Test::Class';
0e3bd46 @dann fixed search_path logic
authored
100 test_requires 'Test::TCP';
101 test_requires 'LWP::UserAgent';
c63e917 @dann test requires AuthorTests module
authored
102 test_requires 'Module::Load::Conditional';
103 test_requires 'Carp::Always';
104 test_requires 'Module::Install::AuthorTests';
47cbe8b @dann added required modules to Makefile
authored
105
a356f51 @dann use App::CLI for Script classes
authored
106 install_script 'bin/angelos';
4c5b951 @dann added simple starter
authored
107
019df49 @dann initial commit
authored
108 use_test_base;
109 auto_include;
110 WriteAll;
ba56553 @dann tried to use Module::Install::PRIVATE to extend test target
authored
111
Something went wrong with that request. Please try again.