Skip to content
Build a distribution with a bootstrapped version of itself
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/Dist/Zilla/App/Command
maint
misc
t
xt
.gitignore
.mailmap
.perltidyrc
.travis.yml
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
dist.ini.meta
perlcritic.rc
weaver.ini

README

NAME
    Dist::Zilla::App::Command::self - Build a distribution with a
    bootstrapped version of itself.

VERSION
    version 0.001003

SYNOPSIS
    This is a different approach to using "[Bootstrap::lib]" that absolves a
    distribution from needing to forcibly embed bootstrapping logic in
    "dist.ini"

      dzil self build

    This is largely similar to using

      [Bootstrap::lib]
      try_built = 1

    and doing

      dzil build && dzil build

    And similar again to:

      dzil run bash -c "cd ../; dzil -I$BUILDDIR/lib dzil build"

    Or whatever the magic is that @ETHER uses.

    This also means that:

      dzil self release

    Is something you can do.

CAVEATS
    The nature of this implies that your distribution will probably need an
    older generation of itself for the initial bootstrap.

    That is to say:

      dzil build

    Must work, and use "Generation.Previous" to build "Generation.Build"

      dzil self foo

    Will call "dzil build" for you, to build "Generation.Build", and then
    invoke

      dzil foo

    To use "Generation.Build" to build "Generation.Next"

    "1. Generation.Previous"
        A previously installed incarnation of your dist.

    "2. Generation.Build"
        The iteration of building the distribution itself from source using
        "Generation.Previous"

    "3. Generation.Next"
        The iteration of building the distribution itself from source using
        "Generation.Build"

AUTHOR
    Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2014 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.

Something went wrong with that request. Please try again.