SYNOPSIS

    In dist.ini:

     [Fatten]
     ;;; the default is to include all scripts, but use below to include only some
     ;;; scripts
     ;include_script=bin/script1
     ;include_script=bin/script2

    In fatten.conf in dist top-level directory, put your fatten
    configuration.

    During build, your scripts will be replaced with the fatpacked version.

    Also, you should also have a module named Something::Fattened (i.e.
    whose name ends in ::Fattened), which contains:

     # FATTENED_MODULES
     # FATTENED_DISTS

    During build, these will be replaced with:

     our @FATTENED_MODULES = (...); # FATTENED_MODULES
     our @FATTENED_DISTS = (...); # FATTENED_DISTS

DESCRIPTION

    This plugin will replace your scripts with the fatpacked version.
    Fatpacking will be done using fatten.

    If fatten.conf exists in your dist's top-level directory, it will be
    used as the fatten configuration.

    In addition to replacing scripts with the fatpacked version, it will
    also search for directives # FATTENED_MODULES and # FATTENED_DISTS in
    module files and replace them with @FATTENED_MODULES and
    @FATTENED_DISTS. The @FATTENED_MODULES array lists all the modules that
    are included in the one of the scripts. This can be useful for tools
    that might need it. @FATTENED_DISTS array lists all the dists that are
    included in one of the scripts. This also can be useful for tools that
    might need it, like Dist::Zilla::Plugin::PERLANCAR::CheckDepDists.

CONFIGURATION

 include_script = str+

    Explicitly include only specified script. Can be specified multiple
    times. The default, when no include_script configuration is specified,
    is to include all scripts in the distribution.

 exclude_script = str+

    Exclude a script. Can be specified multiple times.

SEE ALSO

    fatten

