1Dist::Zilla::App::CommaUnsde:r:bCuoinltdr(i3b)uted PerlDDiosctu:m:eZnitlaltai:o:nApp::Command::build(3)
2
3
4

NAME

6       Dist::Zilla::App::Command::build - build your dist
7

VERSION

9       version 6.012
10

SYNOPSIS

12         dzil build [ --trial ] [ --tgz | --no-tgz ] [ --in /path/to/build/dir ]
13

DESCRIPTION

15       This command is a very thin layer over the Dist::Zilla "build" method,
16       which does all the things required to build your distribution.  By
17       default, it will also archive your distribution and leave you with a
18       complete, ready-to-release distribution tarball.
19
20       To go a bit further in depth, the "build" command will do two things:
21
22       ·   Generate a directory containing your module, "Foo-0.100". This
23           directory is complete. You could create a gzipped tarball from this
24           directory and upload it directly to "PAUSE" if you so desired. You
25           could "cd" into this directory and test your module on Perl
26           installations where you don't have "Dist::Zilla", for example.
27
28           This is a default behavior of the "build" command. You can alter
29           where it puts the directory with "--in /path/to/build/dir".
30
31       ·   Generate a gzipped tarball of your module, "Foo-0.100.tar.gz". This
32           file could be uploaded directly to "PAUSE" to make a release of
33           your module if you wanted. Or, you can test your module: "cpanm
34           --test-only Foo-0.100.tar.gz".  This is the same thing you would
35           get if you compressed the directory described above.
36
37           The gzipped tarball is generated by default, but if you don't want
38           it to be generated, you can pass the "--no-tgz" option. In that
39           case, it would only generate the directory described above.
40
41       Once you're done testing or publishing your build, you can clean up
42       everything with a "dzil clean".
43

EXAMPLE

45         $ dzil build
46         $ dzil build --no-tgz
47         $ dzil build --in /path/to/build/dir
48

OPTIONS

50   --trial
51       This will build a trial distribution.  Among other things, it will
52       generally mean that the built tarball's basename ends in -TRIAL.
53
54   --tgz | --no-tgz
55       Builds a .tar.gz in your project directory after building the
56       distribution.
57
58       --tgz behaviour is by default, use --no-tgz to disable building an
59       archive.
60
61   --in
62       Specifies the directory into which the distribution should be built.
63       If necessary, the directory will be created.  An archive will not be
64       created.
65

AUTHOR

67       Ricardo SIGNES 😏 <rjbs@cpan.org>
68
70       This software is copyright (c) 2018 by Ricardo SIGNES.
71
72       This is free software; you can redistribute it and/or modify it under
73       the same terms as the Perl 5 programming language system itself.
74
75
76
77perl v5.28.1                      2018-04-21Dist::Zilla::App::Command::build(3)
Impressum