]> Dogcows Code - chaz/chatty/blobdiff - Makefile.PL
add convenience targets to build system
[chaz/chatty] / Makefile.PL
index 40bca1ba3b02fe9d91a862a2efc13cd0fda3c05e..8c9e7c88865adfceeb729a8477beedb33b05da56 100644 (file)
@@ -20,6 +20,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.016964 seconds and 4 git commands to generate.