1CPAN::Plugin::Specfile(U3s)er Contributed Perl DocumentatCiPoAnN::Plugin::Specfile(3)
2
3
4

NAME

6       CPAN::Plugin::Specfile - Proof of concept implementation of a trivial
7       CPAN::Plugin
8

SYNOPSIS

10         # once in the cpan shell
11         o conf plugin_list push CPAN::Plugin::Specfile
12
13         # make permanent
14         o conf commit
15
16         # any time in the cpan shell to write a spec file
17         test Acme::Meta
18
19         # disable
20         o conf plugin_list pop
21

DESCRIPTION

23       Implemented as a post-test hook, this plugin writes a specfile after
24       every successful test run. The content is also written to the terminal.
25
26       As a side effect, the timestamps of the written specfiles reflect the
27       linear order of all dependencies.
28
29       WARNING: This code is just a small demo how to use the plugin system of
30       the CPAN shell, not a full fledged spec file writer. Do not expect new
31       features in this plugin.
32
33   OPTIONS
34       The target directory to store the spec files in can be set using "dir"
35       as in
36
37         o conf plugin_list push CPAN::Plugin::Specfile=dir,/tmp/specfiles-000042
38
39       The default directory for this is the "plugins/CPAN::Plugin::Specfile"
40       directory in the cpan_home directory.
41

AUTHOR

43       Andreas Koenig <andk@cpan.org>, Branislav Zahradnik <barney@cpan.org>
44
45
46
47perl v5.26.3                      2019-05-14         CPAN::Plugin::Specfile(3)
Impressum