]> Dogcows Code - chaz/chatty/blob - Makefile.PL
add convenience targets to build system
[chaz/chatty] / Makefile.PL
1 #!/usr/bin/env perl
2 # IMPORTANT: if you delete this file your app will not work as
3 # expected. You have been warned.
4 use inc::Module::Install;
5 use Module::Install::Catalyst; # Complain loudly if you don't have
6 # Catalyst::Devel installed or haven't said
7 # 'make dist' to create a standalone tarball.
8
9 name 'Chatty';
10 all_from 'lib/Chatty.pm';
11
12 requires 'Catalyst::Runtime' => '5.90002';
13 requires 'Catalyst::Plugin::ConfigLoader';
14 requires 'Catalyst::Plugin::Static::Simple';
15 requires 'Catalyst::Action::RenderView';
16 requires 'Moose';
17 requires 'namespace::autoclean';
18 requires 'Config::General'; # This should reflect the config file format you've chosen
19 # See Catalyst::Plugin::ConfigLoader for supported formats
20 test_requires 'Test::More' => '0.88';
21 catalyst;
22
23 # Add targets to run the developer server.
24 sub MY::postamble {
25 return <<END;
26 run: all
27 ./script/chatty_server.pl -r
28 debug: all
29 ./script/chatty_server.pl -r -d
30 END
31 }
32
33 install_script glob('script/*.pl');
34 auto_install;
35 WriteAll;
This page took 0.035877 seconds and 4 git commands to generate.