1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

Adding header to files compiled with command.coffee

This commit is contained in:
Trevor Burnham 2012-01-10 12:54:48 -05:00
parent 36a69864e3
commit 48c17e2c3d

View file

@ -313,7 +313,8 @@ parseOptions = ->
return
# The compile-time options to pass to the CoffeeScript compiler.
compileOptions = (filename) -> {filename, bare: opts.bare}
compileOptions = (filename) ->
{filename, bare: opts.bare, header: opts.compile}
# Start up a new Node.js instance with the arguments in `--nodejs` passed to
# the `node` binary, preserving the other options.