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