mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
fail with appropriate error status if child process fails
This commit is contained in:
parent
2d1abd099d
commit
175ebb3cd8
1 changed files with 1 additions and 0 deletions
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`'
|
||||
|
||||
|
|
Loading…
Reference in a new issue