plack nonsense

This commit is contained in:
Al Beano 2017-07-14 18:35:17 +01:00
parent 7674f31366
commit 3f45e4abc7
2 changed files with 25 additions and 4 deletions

20
app.psgi Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/env perl
use strict;
use warnings;
use FindBin;
use lib "$FindBin::Bin/lib";
# use this block if you don't need middleware, and only have a single target Dancer app to run here
use cyberman;
cyberman->to_app;
use Plack::Builder;
builder {
enable 'Deflater';
cyberman->to_app;
}

View File

@ -1,9 +1,10 @@
requires "Dancer2" => "0.205001";
recommends "YAML" => "0";
recommends "URL::Encode::XS" => "0";
recommends "CGI::Deurl::XS" => "0";
recommends "HTTP::Parser::XS" => "0";
requires "YAML" => "0";
requires "URL::Encode::XS" => "0";
requires "CGI::Deurl::XS" => "0";
requires "HTTP::Parser::XS" => "0";
requires "Plack::Middleware::Deflater" => "0";
on "test" => sub {
requires "Test::More" => "0";