FlixelCommunity/flixel — pull request #115 by IQAndreas (2012-09-30 04:34:20+00:00)
Title: Updated `utils` scripts and added `generate-flixel-swc.sh`

I'm actually quite proud of this one. The two major changes are:

**Saving the Flex SDK location as a git config setting rather than a changeable variable**
Since I'm assuming everyone doesn't have the Flex SDK in the same location, this allows you to change the value without making the script file "dirty". There is a helper script, so you don't need to remember the exact name of the git config option (in fact, give it a try by running `utils/generate-flixel-asdoc.sh` out of the box and see how helpful the script is!)

**Generate a SWC of Flixel's code**
I much prefer using SWCs, and I was tired of opening FDT every time I wanted to compile Flixel. In addition, the script uses `git describe` to get the current version of Flixel (down to the commit) and names the genreated file accordingly. So, for instance, the last SWC I generated was named `flixel-v2.55-54-g869c823.swc`.

This allows for incremental builds without over-writing old SWCs. And if we combine this with [a script for automating uploading files to GitHub](https://github.com/IQAndreas/ghup/tree/dev-generate-token)...