Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

57 lines (43 sloc) 1.54 kb
sub author_tests { }
sub use_test_base { warn "You need to install Test::Base to run make test from git clone" }
sub readme_from { }
sub install_share { warn "You need to install Module::Install::Share to install from git clone" }
use inc::Module::Install;
use Module::AutoInstall;
name 'Plack';
all_from 'lib/Plack.pm';
readme_from 'lib/Plack.pm';
requires 'Class::Accessor::Fast';
requires 'LWP'; # HTTP::Status, HTTP::Headers and HTTP::Request
requires 'HTTP::Body', 1.05;
requires 'URI';
requires 'HTTP::Request::AsCGI', 0.9;
requires 'CGI::Simple::Cookie'; # Plack::Response
requires 'Pod::Usage'; # plackup
requires 'File::ShareDir'; # Plack::Test::Suite
feature 'Fast XS-based HTTP header parsing',
'HTTP::Parser::XS', 0.03;
feature 'Prefork HTTP server',
'Parallel::Prefork';
feature 'Serve static files with sendfile(2)',
-default => 0,
'Sys::Sendfile' => 0.09,
'IO::AIO' => 3.3;
requires 'Devel::StackTrace'; # Middleware::StackTrace
requires 'Devel::StackTrace::AsHTML'; # Middleware::StackTrace
feature 'Stacktrace with lexical variables',
'Devel::StackTrace::WithLexicals';
requires 'Path::Class'; # Middleware::Static
requires 'MIME::Types'; # Middleware::Static
build_requires 'Test::More', 0.88;
build_requires 'Test::TCP', 0.11;
test_requires 'Test::Requires';
test_requires 'Test::Exception';
tests 't/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t t/*/*/*/*/*.t';
author_tests 'xt';
install_share 'share';
install_script 'scripts/plackup';
use_test_base;
auto_include;
auto_install;
WriteAll;
Jump to Line
Something went wrong with that request. Please try again.