Created
November 3, 2012 07:30
-
-
Save jhchabran/4006414 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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