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

后端 未结 4 1202
离开以前
离开以前 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:46

    If you are using *nix systems:

    find -name "*.coffee" -exec coffee -c {} \;
    

    and you may also consider using Guard: https://github.com/guard/guard-coffeescript

提交回复
热议问题