Add moose and autoclean
[catagits/Gitalist.git] / lib / Gitalist.pm
1 package Gitalist;
2 use Moose;
3 use namespace::autoclean;
4
5 use Catalyst::Runtime 5.80;
6
7 extends 'Catalyst';
8
9 use Catalyst qw/-Debug
10                 ConfigLoader
11                 Static::Simple/;
12 our $VERSION = '0.01';
13
14 # Bring in the libified gitweb.cgi.
15 use gitweb;
16
17 __PACKAGE__->config(
18         name => 'Gitalist',
19         default_view => 'Default',
20 );
21
22 # Start the application
23 __PACKAGE__->setup();
24
25 =head1 NAME
26
27 Gitalist - Catalyst based application
28
29 =head1 SYNOPSIS
30
31     script/gitalist_server.pl
32
33 =head1 DESCRIPTION
34
35 [enter your description here]
36
37 =head1 SEE ALSO
38
39 L<Gitalist::Controller::Root>, L<Catalyst>
40
41 =head1 AUTHORS AND COPYRIGHT
42
43   Catalyst application:
44     (C) 2009 Venda Ltd and Dan Brook <dbrook@venda.com>
45
46   Original gitweb.cgi from which this was derived:
47     (C) 2005-2006, Kay Sievers <kay.sievers@vrfy.org>
48     (C) 2005, Christian Gierke
49
50 =head1 LICENSE
51
52 FIXME - Is this going to be GPLv2 as per gitweb? If so this is broken..
53
54 This library is free software. You can redistribute it and/or modify
55 it under the same terms as Perl itself.
56
57 =cut
58
59 1;