Skip to content

Instantly share code, notes, and snippets.

@jhchabran
Created November 3, 2012 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhchabran/4006414 to your computer and use it in GitHub Desktop.
Save jhchabran/4006414 to your computer and use it in GitHub Desktop.
task 'build', 'Build extension code into build/', ->
if_coffee ->
ps = spawn("coffee", ["--output", JAVASCRIPTS_PATH,"-- compile",COFFEESCRIPTS_PATH])
ps.stdout.on('data', log)
ps.stderr.on('data', log)
ps.on 'exit', (code)->
if code != 0
console.log 'failed'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment