Clean up test app and test start server script
[catagits/Catalyst-View-Component-SubInclude.git] / t / script / esitest_server.pl
CommitLineData
9fb2f435 1#!/usr/bin/env perl
2
3BEGIN {
4 $ENV{CATALYST_SCRIPT_GEN} = 40;
30726632 5}
9fb2f435 6use FindBin qw/ $Bin /;
7use lib "$Bin/../lib";
30726632 8
9fb2f435 9use Catalyst::ScriptRunner;
10Catalyst::ScriptRunner->run('ESITest', 'Server');
30726632 11
121;
13
14=head1 NAME
15
9fb2f435 16esitest_server.pl - Catalyst Test Server
30726632 17
18=head1 SYNOPSIS
19
20esitest_server.pl [options]
21
9fb2f435 22 -d --debug force debug mode
23 -f --fork handle each request in a new process
24 (defaults to false)
25 -? --help display this help and exits
26 -h --host host (defaults to all)
27 -p --port port (defaults to 3000)
28 -k --keepalive enable keep-alive connections
29 -r --restart restart when files get modified
30 (defaults to false)
31 -rd --restart_delay delay between file checks
32 (ignored if you have Linux::Inotify2 installed)
33 -rr --restart_regex regex match files that trigger
34 a restart when modified
35 (defaults to '\.yml$|\.yaml$|\.conf|\.pm$')
36 --restart_directory the directory to search for
37 modified files, can be set multiple times
38 (defaults to '[SCRIPT_DIR]/..')
39 --follow_symlinks follow symlinks in search directories
40 (defaults to false. this is a no-op on Win32)
41 --background run the process in the background
42 --pidfile specify filename for pid file
43
30726632 44 See also:
45 perldoc Catalyst::Manual
46 perldoc Catalyst::Manual::Intro
47
48=head1 DESCRIPTION
49
50Run a Catalyst Testserver for this application.
51
52=head1 AUTHORS
53
54Catalyst Contributors, see Catalyst.pm
55
56=head1 COPYRIGHT
57
9fb2f435 58This library is free software. You can redistribute it and/or modify
30726632 59it under the same terms as Perl itself.
60
61=cut
9fb2f435 62