The obvious answer is to create an archive — a zip or tar file, maybe — and include a shell ... bash scripts, we suggest you write them carefully. You can even find a “lint” program ...