convert the resource classes to use the new Resource::Pack api
[gitmo/moose-website.git] / Build.PL
1 use lib 'inc';
2 use Local::Moose::Website::Build;
3 my $self = Local::Moose::Website::Build->new(
4     module_name        => 'Moose::Website',
5     configure_requires => {
6         'File::Path'    => 0,
7         'Module::Build' => 0,
8     },
9     build_requires => {
10         'Capture::Tiny' => 0,
11         Encode          => 0,
12         'File::Next'    => 0,
13         'File::Temp'    => 0,
14         'File::Which'   => 0,
15         'Test::More'    => 0,
16         'XML::LibXML'   => 0,
17         'XML::LibXSLT'  => 0,
18         'YAML::XS'      => 0,
19     },
20     requires => {
21         'Locale::Maketext::Lexicon'  => 0,
22         Moose                        => 0,
23         'MooseX::Params::Validate'   => 0,
24         'MooseX::Role::Parameterized'=> 0,
25         'MooseX::Types::Path::Class' => 0,
26         'Path::Class'                => 0,
27         'Resource::Pack'             => 0,   # http://github.com/stevan/Resource-Pack
28         Template                     => 0,
29         'YAML::XS'                   => 0,
30     },
31 );
32 die "perldoc Build.PL\n" unless $self->destdir && $self->args('locale');
33 $self->notes('locale' => $self->args('locale'));
34 $self->create_build_script;
35
36 __END__
37
38 =encoding UTF-8
39
40 =head1 SYNOPSIS
41
42     perl Build.PL --destdir=out --locale=en
43     ./Build test
44     ./Build distclean