Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 132 lines (109 sloc) 3.471 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';
0fba092 Dann use Angelos::Core
authored
28 all_from 'lib/Angelos/Core.pm';
019df49 Dann initial commit
authored
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
d8bd420 Dann change configuration with env
authored
33 'Class::Method::Modifiers' => 0,
34 'Class::Method::Modifiers::Fast' => 0,
2508641 Dann added TestApp for performance
authored
35 'Mouse' => '0.18',
59df83f Dann use Mouse 0.15, MouseX::Types, HTTP::Engine 0.1.1
authored
36 'MouseX::Types' => '0.01',
d8bd420 Dann change configuration with env
authored
37 'HTTP::Engine' => '0.1.4',
38 'HTTP::Engine::Middleware' => '0.09',
fa84ef7 Dann made Makefile writing style simple
authored
39 'HTTP::Router' => 0,
0ab5c1a Dann renamed bundles to task
authored
40 'HTTP::Session' => '0.30',
fa84ef7 Dann made Makefile writing style simple
authored
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
54 'Data::Util' => 0,
d8bd420 Dann change configuration with env
authored
55 'Class::Singleton' => 0,
5454822 Dann added flavors
authored
56 'CHI' => '0.10',
fa84ef7 Dann made Makefile writing style simple
authored
57
0fba092 Dann use Angelos::Core
authored
58 # Angelos Plugins
59 'Text::SimpleTable' => 0,
60 'File::Find::Rule' => 0,
61
fa84ef7 Dann made Makefile writing style simple
authored
62 # Config
63 'Kwalify' => 0,
64 'YAML' => 0,
65 'Data::Visitor::Callback' => 0,
66
67 # Script
68 'Pod::Simple::Text' => 0,
387abae Dann use MouseX::Getopt 0.14
authored
69 'MouseX::Getopt' => '0.04',
fa84ef7 Dann made Makefile writing style simple
authored
70 'IPC::System::Simple' => 0,
d8bd420 Dann change configuration with env
authored
71 'App::Cmd' => '0.202',
fa84ef7 Dann made Makefile writing style simple
authored
72 'Module::Setup' => 0,
73 'FindBin::libs' => 0,
74 'File::Slurp' => 0,
75 'File::HomeDir' => 0,
76 'Devel::EvalContext' => 0,
0ab5c1a Dann renamed bundles to task
authored
77 'JSON::XS' => 0,
78 'Term::ReadLine' => 0,
fa84ef7 Dann made Makefile writing style simple
authored
79
80 # Components
f965d3f Dann added TODO
authored
81 'Template' => '2.20',
82 'DBIx::Class::Schema' => '0.08012',
83
84 # Controller plugins
85 'Time::HiRes' => 0,
fa84ef7 Dann made Makefile writing style simple
authored
86
87 # I18N
2508641 Dann added TestApp for performance
authored
88 'Data::Localize' => 0,
fa84ef7 Dann made Makefile writing style simple
authored
89 'Locale::Maketext::Simple' => 0,
90 'Locale::Maketext::Extract' => 0,
91
d8bd420 Dann change configuration with env
authored
92 # testing
93 'HTTP::Request::Common' => 0,
94 'Test::Class' => 0,
95 'Test::Base' => 0,
96
fa84ef7 Dann made Makefile writing style simple
authored
97 # View Plugins (remove from core)
98
b293c08 Dann fixed
authored
99 # Core Middleware
dce5b90 Dann changed test app path
authored
100 'MIME::Types' => 0,
fa84ef7 Dann made Makefile writing style simple
authored
101 );
f51219f Dann removed IO::File dependency
authored
102
ce29451 Dann added tests for modperl with Apache::Test
authored
103 if (HAVE_MP) {
104 Apache::TestMM::filter_args();
8a83fc2 Dann added version to Makefile.PL
authored
105
ba56553 Dann tried to use Module::Install::PRIVATE to extend test target
authored
106 #Apache::TestMM::generate_script('t/integration/modperl/TEST');
6ac8331 Dann added simple test for mod_perl environment
authored
107 Apache::TestMM::generate_script('t/TEST');
2508641 Dann added TestApp for performance
authored
108 tests('t/performance/020_modperl/*.t');
8a83fc2 Dann added version to Makefile.PL
authored
109 }
110 else {
ce29451 Dann added tests for modperl with Apache::Test
authored
111 tests('t/*.t t/unit/*.t t/unit/*/*.t');
112 author_tests('xt');
113 }
2efcc18 Dann changed test directory structure
authored
114
fa84ef7 Dann made Makefile writing style simple
authored
115 test_requires(
0ab5c1a Dann renamed bundles to task
authored
116 'Test::LoadAllModules' => '0.02',
117 'Test::Most' => '0.21',
d8bd420 Dann change configuration with env
authored
118 'Test::Class' => 0,
fa84ef7 Dann made Makefile writing style simple
authored
119 'Test::MockObject' => 0,
120 'Test::TCP' => 0,
121 'LWP::UserAgent' => 0,
122 'Module::Load::Conditional' => 0,
123 'Carp::Always' => 0,
124 'Module::Install::AuthorTests' => 0,
125 );
47cbe8b Dann added required modules to Makefile
authored
126
a356f51 Dann use App::CLI for Script classes
authored
127 install_script 'bin/angelos';
4c5b951 Dann added simple starter
authored
128
019df49 Dann initial commit
authored
129 use_test_base;
d1e9446 Dann auto_include
authored
130 auto_include;
019df49 Dann initial commit
authored
131 WriteAll;
Something went wrong with that request. Please try again.