|
Revision 10867, 1.5 kB
(checked in by tokuhirom, 5 years ago)
|
|
structure changes :)
|
| Line | |
|---|
| 1 | use inc::Module::Install; |
|---|
| 2 | name 'HTTP-Engine'; |
|---|
| 3 | all_from 'lib/HTTP/Engine.pm'; |
|---|
| 4 | |
|---|
| 5 | requires 'Moose' => 0.40; |
|---|
| 6 | requires 'MooseX::Object::Pluggable'; |
|---|
| 7 | requires 'Scalar::Util'; |
|---|
| 8 | |
|---|
| 9 | requires 'IO::Socket'; |
|---|
| 10 | |
|---|
| 11 | requires 'File::Copy'; |
|---|
| 12 | requires 'IO::File'; |
|---|
| 13 | requires 'File::Spec::Unix'; |
|---|
| 14 | |
|---|
| 15 | requires 'CGI::Simple::Cookie'; |
|---|
| 16 | requires 'HTTP::Body'; |
|---|
| 17 | requires 'HTTP::Headers'; |
|---|
| 18 | requires 'URI'; |
|---|
| 19 | |
|---|
| 20 | features( |
|---|
| 21 | 'Interface::FCGI' => [ |
|---|
| 22 | -default => 0, |
|---|
| 23 | recommends_hack('FCGI'), |
|---|
| 24 | ], |
|---|
| 25 | |
|---|
| 26 | 'Interface::ServerSimple' => [ |
|---|
| 27 | -default => 0, |
|---|
| 28 | recommends_hack('HTTP::Server::Simple'), |
|---|
| 29 | ], |
|---|
| 30 | |
|---|
| 31 | 'Interface::Standalone' => [ |
|---|
| 32 | -default => 0, |
|---|
| 33 | recommends_hack('Errno'), |
|---|
| 34 | ], |
|---|
| 35 | |
|---|
| 36 | 'Interface::Test' => [ |
|---|
| 37 | -default => 0, |
|---|
| 38 | recommends_hack('HTTP::Request::AsCGI'), |
|---|
| 39 | ], |
|---|
| 40 | |
|---|
| 41 | 'ModuleReload' => [ |
|---|
| 42 | -default => 0, |
|---|
| 43 | recommends_hack('Module::Reload'), |
|---|
| 44 | ], |
|---|
| 45 | |
|---|
| 46 | 'DebugScreen' => [ |
|---|
| 47 | -default => 0, |
|---|
| 48 | recommends_hack('Carp::Always'), |
|---|
| 49 | ], |
|---|
| 50 | ); |
|---|
| 51 | |
|---|
| 52 | # |
|---|
| 53 | # 'Interface::Standalone' => [ |
|---|
| 54 | # -default => 0, |
|---|
| 55 | # recommends_hack('Errno'), |
|---|
| 56 | # ], |
|---|
| 57 | # |
|---|
| 58 | # 'Interface::Test' => [ |
|---|
| 59 | # -default => 0, |
|---|
| 60 | # recommends_hack('HTTP::Request::AsCGI'), |
|---|
| 61 | # ], |
|---|
| 62 | # |
|---|
| 63 | # 'ModuleReload' => [ |
|---|
| 64 | # -default => 0, |
|---|
| 65 | # recommends_hack('Module::Reload'), |
|---|
| 66 | # ], |
|---|
| 67 | # |
|---|
| 68 | # 'DebugScreen' => [ |
|---|
| 69 | # -default => 0, |
|---|
| 70 | # recommends_hack('Carp::Always'), |
|---|
| 71 | # ], |
|---|
| 72 | #); |
|---|
| 73 | # |
|---|
| 74 | build_requires 'Test::More'; |
|---|
| 75 | use_test_base; |
|---|
| 76 | auto_include; |
|---|
| 77 | auto_install; |
|---|
| 78 | WriteAll; |
|---|