Skip to content

Make it possible to fatpack to a copy of the original script #2

@robinsmidsrod

Description

@robinsmidsrod

When you use this piece of code (from the docs) in dist.ini the file mentioned in your build directory is overwritten with a fatpacked version. This is as intended

[FatPacker]
script = bin/myscript

It would be awesome if you could implement a new feature that allows the fatpacked file to not overwrite the source, but create itself with a configurable name. That would allow me to use the CopyFilesFromBuild dzil plugin to move it back into my source directory and distribute the non-fatpacked version to CPAN while retaining the fatpacked in my repo on GitHub.

Maybe one of these syntaxes are useful?

[FatPacker]
script = bin/myscript
dest = bin/myscript.packed
[FatPacker]
script = bin/myscript bin/myscript.packed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions