OscarGodson/EpicEditor — pull request #91 by johnmdonahue (2012-05-07 05:30:30+00:00)
Title: Jakefile Cleanup

Here is the first draft at a cleaned up Jakefile.

### Features
* Hopefully able to run on Windows since no more reliance on `cat` / other unix calls
* Added nolint flag option for build task
* Cleaner simplified logic and code
* Using new Jake API. Good shit btw!
* Fixed broken color val for green making it show up magenta
* Trimmed down some extraneous output, just LMK if you want any of it back in

### ToDo
* Check for `jshint`, `marked`, and `uglifyjs` (or otherwise display a warning)
* Do we need pretty errors on jake.exec? Not sure how to implement this ATM
* Use jake package task to generate zips in `docs/build`?
* Figure out a good way to version the builds in the header etc.

### Notes
* `jake.FileList()` is not being used because it requires `minimatch` - trying to keep it simple
* What's the best dir structure to handle the build and docs? `index.html` and builds moved into docs? Create another folder `/build`? Something just seems odd about having a folder called docs and the index in the root - can't really put my finger on it.
* If you have a node windows box kicking around I'd love to hear how bad this shit crashes it. :P