i just enabled tests in Makefile.PL, i did not break anything!
[catagits/Catalyst-Runtime.git] / Makefile.PL
1 use ExtUtils::MakeMaker;
2
3 WriteMakefile(
4     NAME         => 'Catalyst',
5     VERSION_FROM => 'lib/Catalyst.pm',
6     EXE_FILES    => ['script/catalyst.pl'],
7     PREREQ_PM    => {
8         UNIVERSAL::require                => 0,
9         CGI::Simple                       => 0,
10         Class::Accessor::Fast             => 0,
11         Class::Data::Inheritable          => 0,
12         HTTP::Daemon                      => 0,
13         HTML::Entities                    => 0,
14         HTTP::Headers                     => 0,
15         HTTP::Request                     => 0,
16         HTTP::Response                    => 0,
17         LWP::UserAgent                    => 0,
18         Module::Pluggable::Fast           => 0,
19         Text::ASCIITable                  => 0,
20         Tree::Simple                      => 0,
21         Tree::Simple::Visitor::FindByPath => 0,
22         URI                               => 0,
23     },
24     test => {
25         TESTS => join ' ',
26         ( glob('t/*.t'), glob('t/*/*.t'), glob('t/*/*/*.t') )
27     }
28 );
29
30 print( '*' x 80, "\n" );
31 print( (qw/draven fordmason naughton sri the_jester/)[ int( rand(5) ) ],
32     " is the greatest,\n" );
33 print "chansen is punishing us\n";
34 print "and gabb is drunk again!\n";
35 print( '*' x 80, "\n" );
36
37 eval "use mod_perl; use Apache::Request";
38 print qq/Install "mod_perl" and "Apache::Request" for Apache support.\n/ if $@;
39
40 eval "use FCGI";
41 print qq/Install "FCGI" for FastCGI support.\n/ if $@;