]> Dogcows Code - chaz/chatty/blobdiff - Makefile.PL
add stacktrace plugin for easier debugging
[chaz/chatty] / Makefile.PL
index 40bca1ba3b02fe9d91a862a2efc13cd0fda3c05e..765aa5a78b7dc8cd99629d90a6da78a439142021 100644 (file)
@@ -11,6 +11,7 @@ all_from 'lib/Chatty.pm';
 
 requires 'Catalyst::Runtime' => '5.90002';
 requires 'Catalyst::Plugin::ConfigLoader';
+requires 'Catalyst::Plugin::StackTrace';
 requires 'Catalyst::Plugin::Static::Simple';
 requires 'Catalyst::Action::RenderView';
 requires 'Moose';
@@ -20,6 +21,16 @@ requires 'Config::General'; # This should reflect the config file format you've
 test_requires 'Test::More' => '0.88';
 catalyst;
 
+# Add targets to run the developer server.
+sub MY::postamble {
+       return <<END;
+run: all
+       ./script/chatty_server.pl -r
+debug: all
+       ./script/chatty_server.pl -r -d
+END
+}
+
 install_script glob('script/*.pl');
 auto_install;
 WriteAll;
This page took 0.01805 seconds and 4 git commands to generate.