The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dist::Zilla::App::Command::cook - build and test your dist from scratch

VERSION

version 0.003

SYNOPSIS

  dzil cook

DESCRIPTION

This Dist::Zilla command "cooks" your distribution from scratch. It builds, tests, and installs, your distribution and all of its dependencies in a sandbox using cpanm and local::lib. The dependencies are pulled from the local Pinto repository in the f<pan> directory, and the resulting build is placed in the dlib directory.

Baking a distribution is equivalent to installing your distribution against a virgin Perl with the CPAN toolchain. The resulting dlib will contain your distribution and its entire dependency stack. In theory, you could then deploy this directory as an isolated application or component.

ARGUMENTS

None.

OPTIONS

None.

NOTES

Before you can cook a distribution, you need to stock up on the necessary ingredients (i.e. dependencies). To do that, use the stock command.

The dlib directory is preserved after each baking. But if the dlib directory gets crufty, use the scrub command to erase it, and the next baking will start from scratch.

AUTHOR

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Imaginative Software Systems.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.