NAME

Verby::Action::BuildTool - Action to run 'perl Makefile.PL' or something similar in a specific directory.

SYNOPSIS

use Verby::Action::MakefilePL;

DESCRIPTION

This action runs something like 'perl Makefile.PL' (the script field) if the target field (it's output file) seems out of date.

METHODS

do

Run the script in the specified directory, using command.

log_extra

Used by the Run role to improve the log messages.

verfiy

Ensures that the target file exists next to the script file, and that is as new or newer than script.

FIELDS

command

Defaults to $^X (the process used to invoke the currently running perl program, probably "perl" or the shebang line).

script

Defaults to Makefile.PL.

target

Defaults to Makefile.

PARAMETERS

workdir

The directory in which to run the script.

additional_args

An optional array ref for additional parameters to send to the script.

BUGS

None that we are aware of. Of course, if you find a bug, let us know, and we will be sure to fix it.

CODE COVERAGE

We use Devel::Cover to test the code coverage of the tests, please refer to COVERAGE section of the Verby module for more information.

SEE ALSO

AUTHOR

Yuval Kogman, <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE

Copyright 2005-2008 by Infinity Interactive, Inc.

http://www.iinteractive.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.