CoffeeScript - compile all .coffee files in current directory and all sub-directories

后端 未结 4 1191
离开以前
离开以前 2021-02-05 04:06

What is the easiest way to compile all .coffee files in the current directory and all sub-directories?

4条回答
  •  自闭症患者
    2021-02-05 04:48

    you can do so with the integrated coffee shell tool:

    coffee --output lib --compile src
    

    compiles a directory tree of .coffee files in src into a parallel tree of .js files in lib. Check http://coffeescript.org/#usage for more details

提交回复
热议问题