The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Dist::Zilla::Role::BuildRunner - something used as a delegating agent during 'dzil run'

VERSION

version 1.100160

DESCRIPTION

Plugins implementing this role have their build method called during dzil run. It's passed the root directory of the build test dir.

REQUIRED METHODS

build()

This method should return undef on success. Any other value is interpreted as an error message.

Calling "die" inside build also will be caught.

The following 2 subs should behave(mostly) the same:

    sub build {
        die "Failed";
    }

    sub build {
        return "Failed";
    }

AUTHOR

  Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Ricardo SIGNES.

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