Changed the dir structure so it looks a bit more distro-like.
[catagits/Gitalist.git] / script / gitalist_cgi.pl
diff --git a/script/gitalist_cgi.pl b/script/gitalist_cgi.pl
new file mode 100755 (executable)
index 0000000..791134f
--- /dev/null
@@ -0,0 +1,37 @@
+#!/usr/bin/perl
+
+BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
+
+use strict;
+use warnings;
+use FindBin;
+use lib "$FindBin::Bin/../lib";
+use Gitalist;
+
+Gitalist->run;
+
+1;
+
+=head1 NAME
+
+gitalist_cgi.pl - Catalyst CGI
+
+=head1 SYNOPSIS
+
+See L<Catalyst::Manual>
+
+=head1 DESCRIPTION
+
+Run a Catalyst application as a cgi script.
+
+=head1 AUTHORS
+
+Catalyst Contributors, see Catalyst.pm
+
+=head1 COPYRIGHT
+
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut