mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-14 17:27:59 -05:00
fail with appropriate error status if child process fails
This commit is contained in:
1
Cakefile
1
Cakefile
@@ -7,6 +7,7 @@ CoffeeScript: require './lib/coffee-script'
|
||||
run: (args) ->
|
||||
proc: spawn 'bin/coffee', args
|
||||
proc.stderr.addListener 'data', (buffer) -> puts buffer.toString()
|
||||
proc.addListener 'exit', (status) -> process.exit(1) if status != 0
|
||||
|
||||
option '-p', '--prefix [DIR]', 'set the installation prefix for `cake install`'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user