mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
merging gfxmonk's removed error event fix.
This commit is contained in:
parent
e9b37c7578
commit
212ad45be4
1 changed files with 1 additions and 3 deletions
4
Cakefile
4
Cakefile
|
@ -6,9 +6,7 @@ CoffeeScript: require './lib/coffee-script'
|
|||
# Run a CoffeeScript through our node/coffee interpreter.
|
||||
run: (args) ->
|
||||
proc: spawn 'bin/coffee', args
|
||||
err: ""
|
||||
proc.stderr.addListener 'data', (data) -> err += data
|
||||
proc.addListener 'exit', (ex) -> puts err if ex != 0
|
||||
proc.stderr.addListener 'data', (buffer) -> puts buffer.toString()
|
||||
|
||||
option '-p', '--prefix [DIR]', 'set the installation prefix for `cake install`'
|
||||
|
||||
|
|
Loading…
Reference in a new issue