Commit | Line | Data |
d45dd0ef |
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, |
49046f7e |
18 | 'YAML::XS' => 0, |
d45dd0ef |
19 | }, |
20 | requires => { |
21 | 'Locale::Maketext::Lexicon' => 0, |
22 | Moose => 0, |
49046f7e |
23 | 'MooseX::Params::Validate' => 0, |
24 | 'MooseX::Role::Parameterized'=> 0, |
d45dd0ef |
25 | 'MooseX::Types::Path::Class' => 0, |
26 | 'Path::Class' => 0, |
efff1e7d |
27 | 'Resource::Pack' => 0, # http://github.com/stevan/Resource-Pack |
d45dd0ef |
28 | Template => 0, |
29 | 'YAML::XS' => 0, |
30 | }, |
31 | ); |
49046f7e |
32 | die "perldoc Build.PL\n" unless $self->destdir && $self->args('locale'); |
33 | $self->notes('locale' => $self->args('locale')); |
d45dd0ef |
34 | $self->create_build_script; |
35 | |
36 | __END__ |
37 | |
38 | =encoding UTF-8 |
39 | |
40 | =head1 SYNOPSIS |
41 | |
49046f7e |
42 | perl Build.PL --destdir=out --locale=en |
d45dd0ef |
43 | ./Build test |
44 | ./Build distclean |