Windows ã§ã CoffeeScript 使ããããã©ãCygwin ãªãã¦æå°ã§ãå
¥ããããªãããããªããªã*1ã¸ã
ããã£ã½ãã®è¦å½ãããªãã£ãã®ã§æ¸ãã¦ã¿ãã
https://github.com/thinca/coffee-script-on-jscript
ç¹å¾´
- æ¬ä½ (coffee.bat) 㨠CoffeeScript ã³ã³ãã¤ã© (coffee-script.js) ã ãããã°åãã
- Cygwin è¦ããªãã (âéè¦)
- JScript ã¨ãã¦åä½ããã
- node.js å¨ãã®é¢æ°ã¨ã使ããªãã®ã§æ³¨æã
- ã¨ããããã³ã³ãã¤ã«ã¨å®è¡ãããã¯ã§ããã
使ããæ©è½
ä»ã®ã¨ãã以ä¸ã
Usage: coffee [options] path/to/script.coffee -c, --compile compile to JavaScript and save as .js files -p, --print print the compiled JavaScript to stdout -s, --stdio listen for and compile scripts over stdio -e, --eval compile a string from the command line -b, --bare compile without the top-level function wrapper -h, --help display this help message
ãã®ãã¡å ¥ãããæ©è½ã
- ãã£ã¬ã¯ããªåä½ã®å¦ç
- --out ãªãã·ã§ã³
- --join ãªãã·ã§ã³
- --watch ãªãã·ã§ã³
åèè³æ
- https://github.com/ynkdir/winscript
- .bat ä¸ã« .js ãæ¸ãæ¹æ³ãåèã«ããã
- http://kennyj-jp.blogspot.com/2011/01/coffeescriptwindows.html
- ç°¡æçã®å®è£ ã
- http://efcl.info/2011/0409/res2494/
- NILScript ã«ããå®è£ ãNILScript ã«ä¾åããã
*1:ç§ã