1Dist::Zilla::App::CommaUnsde:r:rCuonn(t3r)ibuted Perl DoDciusmte:n:tZaitliloan::App::Command::run(3)
2
3
4

NAME

6       Dist::Zilla::App::Command::run - run stuff in a dir where your dist is
7       built
8

VERSION

10       version 6.017
11

SYNOPSIS

13         $ dzil run ./bin/myscript
14         $ dzil run prove -bv t/mytest.t
15         $ dzil run bash
16

DESCRIPTION

18       This command will build your dist with Dist::Zilla, then build the
19       distribution and then run a command in the build directory.  It's
20       something like doing this:
21
22         dzil build
23         rsync -avp My-Project-version/ .build/
24         cd .build
25         perl Makefile.PL            # or perl Build.PL
26         make                        # or ./Build
27         export PERL5LIB=$PWD/blib/lib:$PWD/blib/arch
28         <your command as defined by rest of params>
29
30       Except for the fact it's built directly in a subdir of .build (like
31       .build/69105y2).
32
33       A command returning with an non-zero error code will left the build
34       directory behind for analysis, and "dzil" will exit with a non-zero
35       status.  Otherwise, the build directory will be removed and dzil will
36       exit with status zero.
37
38       If no run command is provided, a new default shell is invoked. This can
39       be useful for testing your distribution as if it were installed.
40

AUTHOR

42       Ricardo SIGNES 😏 <rjbs@cpan.org>
43
45       This software is copyright (c) 2020 by Ricardo SIGNES.
46
47       This is free software; you can redistribute it and/or modify it under
48       the same terms as the Perl 5 programming language system itself.
49
50
51
52perl v5.32.0                      2020-11-03 Dist::Zilla::App::Command::run(3)
Impressum