Cakefile to combine, compile and minify sets of coffeescript files

A handy cakefile script to define how your coffeescript files should be combined and minified.

## Requirements

– [UglifyJS][1] to minify the final js file

## Usage

Modify the batch array to fit with your requirements and run the following:

## [Sublime Text][2] and [Better Coffeescript][3] plugin

To use the Better Coffeescript plugin’s build command (Cmd-b / Ctrl-b) in Sublime Text, you’ll need to save the Cakefile together with the sublime project file at the root of your project.

[1]: https://github.com/mishoo/UglifyJS
[2]: http://www.sublimetext.com/
[3]: https://github.com/aponxi/sublime-better-coffeescript

Tagged with: ,
Posted in Blog, Develop
Tweets