Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
robinsmidsrod opened this issue Mar 17, 2013 · 0 comments
Open

Comments

@robinsmidsrod
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant