1Dist::Zilla::App::CommaUnsde:r:rCuonn(t3r)ibuted Perl DoDciusmte:n:tZaitliloan::App::Command::run(3)
2
3
4
6 Dist::Zilla::App::Command::run - run stuff in a dir where your dist is
7 built
8
10 version 4.300002
11
13 $ dzil run ./bin/myscript
14 $ dzil run prove -bv t/mytest.t
15 $ dzil run bash
16
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
39 Ricardo SIGNES <rjbs@cpan.org>
40
42 This software is copyright (c) 2011 by Ricardo SIGNES.
43
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.12.4 2011-09-22 Dist::Zilla::App::Command::run(3)