root/trunk/Build.PL

Revision 19, 1.1 kB (checked in by evdb, 3 years ago)

Changed: Fixed GETs with effects and added loads of tests

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 use strict;
2 use Catalyst::Build;
3
4 my @test_files = sort( glob('t/*.t'), glob('t/*/*.t') );
5
6 my $build = Catalyst::Build->new(
7     create_makefile_pl => 'passthrough',
8     license            => 'restrictive',
9     module_name        => 'Scrpbk',
10
11     requires => {
12         'Catalyst'             => '5.20',
13         'Cwd'                  => 0,
14         'Data::Dumper'         => 0,
15         'DateTime::Format::Pg' => 0,
16         'DateTime'             => 0,
17         'Email::Valid'         => 0,
18         'File::Spec'           => 0,
19         'FindBin'              => 0,
20         'HTML::Entities'       => 0,
21         'Getopt::Long'         => 0,
22         'Mail::Mailer'         => 0,
23         'Pod::Usage'           => 0,
24         'Proc::Daemon'         => 0,
25         'Template'             => 0,
26         'Test::More'           => 0,
27         'Test::WWW::Mechanize' => 0,
28         'URI'                  => 0,
29         'YAML'                 => 0,
30     },
31
32     create_makefile_pl => 'passthrough',
33     script_files       => [ glob('script/*.pl') ],
34     test_files         => \@test_files
35 );
36
37 $build->create_build_script;
38
Note: See TracBrowser for help on using the browser.