NAME

Perl::Critic::Module::Build - Customization of Module::Build for Perl::Critic.

DESCRIPTION

This is a custom subclass of Module::Build that enhances existing functionality and adds more for the benefit of installing and developing Perl::Critic.

METHODS

ACTION_test()

In addition to the standard action, this adds a dependency upon the manifest action.

ACTION_authortest()

Runs the regular tests plus the author tests (those in xt/author). It used to be the case that author tests were run if an environment variable was set or if a .svn directory existed. What ended up happening was that people that had that environment variable set for other purposes or who had done a checkout of the code repository would run those tests, which would fail, and we'd get bug reports for something not expected to run elsewhere. Now, you've got to explicitly ask for the author tests to be run.

ACTION_authortestcover()

As authortest is to the standard test action, authortestcover is to the standard testcover action.

ACTION_distdir()

In addition to the standard action, this adds a dependency upon the authortest action so you can't do a release without passing the author tests.

AUTHOR

Elliot Shank <perl@galumph.com>

COPYRIGHT

Copyright (c) 2007-2009 Elliot Shank. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.