1 | {print} = require 'util'
|
2 | {spawn} = require 'child_process'
|
3 |
|
4 | task 'build', 'Build lib/ from src/', ->
|
5 | coffee = spawn 'coffee', ['-c', '-o', 'lib', 'src']
|
6 |
|
7 | coffee.stderr.on 'data', (data) -> process.stderr.write data.toString()
|
8 | coffee.stdout.on 'data', (data) -> print data.toString() |
\ | No newline at end of file |