Skip to content

Instantly share code, notes, and snippets.

@BaseCase
Created March 20, 2012 18:28
Show Gist options
  • Select an option

  • Save BaseCase/2139306 to your computer and use it in GitHub Desktop.

Select an option

Save BaseCase/2139306 to your computer and use it in GitHub Desktop.
Cake tasks
task 'test', 'Runs all Jasmine specs in spec/ folder', ->
test()
task 'compile', 'Compiles coffee in src/ to js in bin/', ->
compile()
task 'stitch', 'Stitches all app .js files', ->
stitch()
task 'compress', 'Runs UglifyJS on stitched file in order to compress it', ->
compress()
task 'build', 'Does the full build magic', ->
test -> compile -> stitch -> compress()
task 'develop', 'Only compile and stitch, don\'t test or compress', ->
compile -> stitch()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment