File: README.md

package info (click to toggle)
libmodule-build-pluggable-perl 0.10-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 192 kB
  • sloc: perl: 434; makefile: 2
file content (43 lines) | stat: -rw-r--r-- 1,076 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# NAME

Module::Build::Pluggable - Module::Build meets plugins

# SYNOPSIS

    use Module::Build::Pluggable (
        'Repository',
        'ReadmeMarkdownFromPod',
        'PPPort',
    );

    my $builder = Module::Build::Pluggable->new(
        ... # normal M::B args
    );
    $builder->create_build_script();

# DESCRIPTION

Module::Build::Pluggable adds pluggability for Module::Build.

# HOW CAN I WRITE MY OWN PLUGIN?

Module::Build::Pluggable call __HOOK\_prepare__ on preparing arguments for `Module::Build->new`, __HOOK\_configure__ on configuration step, and __HOOK\_build__ on build step.

That's all.

And if you want a help, you can use [Module::Build::Pluggable::Base](http://search.cpan.org/perldoc?Module::Build::Pluggable::Base) as base class.

# AUTHOR

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

# SEE ALSO

This module built on [Module::Build](http://search.cpan.org/perldoc?Module::Build).

# LICENSE

Copyright (C) Tokuhiro Matsuno

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