Created
April 30, 2010 19:42
-
-
Save uasi/385661 to your computer and use it in GitHub Desktop.
fastpack - a simple App::FatPacker helper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# fastpack - a simple App::FatPacker helper | |
# | |
if [ -z "$1" ]; then | |
echo "usage: fastpack script.pl > script.packed.pl" | |
exit 0 | |
fi | |
fatpack trace "$1" | |
fatpack packlists-for `cat fatpacker.trace` > fatpacker.packlists | |
fatpack tree `cat fatpacker.packlists` | |
[ -d lib ] || mkdir lib | |
echo "#!/usr/bin/env perl" | |
echo | |
fatpack file | |
cat "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment