script/ews_calendar_viewer_server.pl untested

filter: Statementstmt 0.0% 0 / 6 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 2 SCAR 15.4
CC
2
Cov
0%
BEGIN
6.0
BEGIN
2.0
CRAP 4.7
1 #!/usr/bin/env perl
2  
3 BEGIN {
4 $ENV{CATALYST_SCRIPT_GEN} = 40;
5  
6 $ENV{CATALYST_CONFIG} ||=
7 (-d './examples' ? './examples' : './');
8 }
9  
10 use Catalyst::ScriptRunner;
11 Catalyst::ScriptRunner->run('EWS::Calendar::Viewer', 'Server');
12  
13 1;
14  
15 =head1 NAME
16  
17 ews_calendar_viewer_server.pl - Catalyst Test Server
18  
19 =head1 SYNOPSIS
20  
21 ews_calendar_viewer_server.pl [options]
22  
23 -d --debug force debug mode
24 -f --fork handle each request in a new process
25 (defaults to false)
26 -? --help display this help and exits
27 -h --host host (defaults to all)
28 -p --port port (defaults to 3000)
29 -k --keepalive enable keep-alive connections
30 -r --restart restart when files get modified
31 (defaults to false)
32 -rd --restart_delay delay between file checks
33 (ignored if you have Linux::Inotify2 installed)
34 -rr --restart_regex regex match files that trigger
35 a restart when modified
36 (defaults to '\.yml$|\.yaml$|\.conf|\.pm$')
37 --restart_directory the directory to search for
38 modified files, can be set mulitple times
39 (defaults to '[SCRIPT_DIR]/..')
40 --follow_symlinks follow symlinks in search directories
41 (defaults to false. this is a no-op on Win32)
42 --background run the process in the background
43 --pidfile specify filename for pid file
44  
45 See also:
46 perldoc Catalyst::Manual
47 perldoc Catalyst::Manual::Intro
48  
49 =head1 DESCRIPTION
50  
51 Run a Catalyst Testserver for this application.
52  
53 =head1 AUTHORS
54  
55 Catalyst Contributors, see Catalyst.pm
56  
57 =head1 COPYRIGHT
58  
59 This library is free software. You can redistribute it and/or modify
60 it under the same terms as Perl itself.
61  
62 =cut
63