-
-
03 Apr 2021 21:29:16 UTC
- Distribution: Dist-Zilla-App-Command-regenerate
- Module version: 0.001002
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (142 / 0 / 0)
- Kwalitee
Bus factor: 1- 95.28% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (23.49KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Dist::Zilla::App::Command::regenerate - Write content into your source tree from your release staging
VERSION
version 0.001002
SYNOPSIS
# Have approprite dist.ini dzil regenerate # Source tree updated!
DESCRIPTION
Dist::Zilla::App::Command::regenerate
provides aregenerate
command toDist::Zilla
that allows some simple tooling to update your source tree when you choose to.This works by producing a new synthetic target like the
release
target, which happens after thebuild
stage, but does not produce a release.In conjunction with appropriate
plugins
performing-Regenerator
, This means that:You won't be frustrated with
dzil build
constantly tweaking your source treeYou won't be forced to ship a release just to update the state of some files that are generated by plugins
You won't even have to update your source tree ever if you don't want to.
When calling
dzil regenerate
, a full copy of the distribution is built in a temporary directory like it does when you calldzil test
.Then after
dzil regenerate
has written your built distribution out to the temporary directory, anyplugin
's that perform the-Regenerator
role are called and told where your source tree is, and where the build tree is, and they are expected to do the required work.In effect,
dzil regenerate
is a lot like:dzil build --not && \ DO_STUFF_WITH .build/latest/ && \ MAYBECOPY .build/latest/stuff ./stuff
Where those last 2 lines are done with
plugins
.SEE ALSO
-
This command invokes only the
dzil build
parts of the equation and relydzil build
itself doing your source tree modification.A goal of
dzil regenerate
is to avoiddzil build
doing source tree modification.
AUTHOR
Kent Fredric <kentnl@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016-2017 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Dist::Zilla::App::Command::regenerate, copy and paste the appropriate command in to your terminal.
cpanm Dist::Zilla::App::Command::regenerate
perl -MCPAN -e shell install Dist::Zilla::App::Command::regenerate
For more information on module installation, please visit the detailed CPAN module installation guide.