Skip to content

Instantly share code, notes, and snippets.

@uasi
Created April 30, 2010 19:42
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save uasi/385661 to your computer and use it in GitHub Desktop.
Save uasi/385661 to your computer and use it in GitHub Desktop.
fastpack - a simple App::FatPacker helper
#!/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