1Dist::Zilla::Plugin::CoUpsyeFrilCeosnFtrroimbBuutieDldids(Pt3e:)r:lZiDlolcau:m:ePnltuagtiino:n:CopyFilesFromBuild(3)
2
3
4
6 Dist::Zilla::Plugin::CopyFilesFromBuild - Copy (or move) specific files
7 after building (for SCM inclusion, etc.)
8
10 version 0.170880
11
13 In your dist.ini:
14
15 [CopyFilesFromBuild]
16 copy = README
17 move = README.pod
18 copy = Makefile.PL
19
21 This plugin will automatically copy the files that you specify in
22 dist.ini from the build directory into the distribution directoory.
23 This is so you can commit them to version control.
24
25 If you want to put a build-generated file in version control but you
26 don't want it to remain in the build dir, use "move" instead of "copy".
27 When you use "move", the MANIFEST file will be updated if it exists,
28 and the moved files will be pruned from their former location.
29
31 This plugin is based on CopyReadmeFromBuild. I wrote it because that
32 plugin was copying the wrong README file (README instead of README.mkdn
33 or README.pod), and it could not be configured to do otherwise. So I
34 wrote my own module that copies exactly the files that I specify.
35
36 I added the "move" functionality because I wanted to generate a
37 README.pod file for Github, but MakeMaker wanted to also install the
38 README.pod file as part of the distribution. So I made it possible to
39 take a file generated during the build and move it out of the build
40 directory, so that it would not be included in the distribution.
41
43 Please report any bugs or feature requests to
44 "rct+perlbug@thompsonclan.org".
45
47 • Dist::Zilla::Plugin::CopyReadmeFromBuild - The basis for this
48 module
49
51 See perlmodinstall for information and options on installing Perl
52 modules.
53
55 Ryan C. Thompson <rct@thompsonclan.org>
56
58 This software is copyright (c) 2010 by Ryan C. Thompson.
59
60 This is free software; you can redistribute it and/or modify it under
61 the same terms as the Perl 5 programming language system itself.
62
64 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
65 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
66 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
67 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
68 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
69 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
70 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
71 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
72 NECESSARY SERVICING, REPAIR, OR CORRECTION.
73
74 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
75 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
76 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
77 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
78 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
79 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
80 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
81 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
82 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
83 DAMAGES.
84
85
86
87perl v5.32.1 202D1i-s0t1:-:2Z7illa::Plugin::CopyFilesFromBuild(3)