jashkenas / coffeescript

Unfancy JavaScript
https://coffeescript.org/
MIT License
16.5k stars 1.99k forks source link

Specify the Name of the Output-File #1213

Closed alexandertrefz closed 13 years ago

alexandertrefz commented 13 years ago

I would really like to be able to specify the name of the file that gets written by the Compiler. Something like: coffee -o lib/myTargetFile.js That would be great.

michaelficarra commented 13 years ago

see coffee --help

dvv commented 13 years ago

and do coffee -p src.coffee >what.ever.you.like--even.js

alexandertrefz commented 13 years ago

oh Sorry. Thank you. I tried -o, but this only did the trick for Directories.

michaelficarra commented 13 years ago

@dvv: There's also the -o flag if you don't want to send errors to your output file.