Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 43 lines (34 sloc) 0.854 kB
#!/usr/bin/perl
# boostrap development environment
use strict;
sub diag {
warn "------> $_[0]\n";
}
diag "Installing Module::Install and plugins";
system "cpanm", qw(
Module::Install
Module::Install::AuthorTests
Module::Install::ReadmeFromPod
Module::Install::Repository
Module::Install::Authority
);
diag "Installing dependencies";
system "cpanm", "--installdeps", ".";
# FIXME should go to cpanfile/devel_requires or Plack::Devel bundle
diag "Installing devel devependencies";
system "cpanm", qw(
FCGI
FCGI::ProcManager
MIME::Types
Authen::Simple::Passwd
CGI::Emulate::PSGI
CGI::Compile
IO::Handle::Util
LWP::Protocol::http10
Log::Log4perl
HTTP::Server::Simple::PSGI
HTTP::Request::AsCGI
);
diag "Running tests";
system "prove", "-lr", "t";
warn "\nYour development environment is set up. Happy hacking!\n";
Jump to Line
Something went wrong with that request. Please try again.