CoffeeScript - 编译当前目录和所有子目录中的所有.coffee文件 [英] CoffeeScript - compile all .coffee files in current directory and all sub-directories

查看:127
本文介绍了CoffeeScript - 编译当前目录和所有子目录中的所有.coffee文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在当前目录和所有子目录中编译所有.coffee文件最简单的方法是什么?

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

推荐答案

您使用* nix系统:

If you are using *nix systems:

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

,您也可以考虑使用 Guard https://github.com/guard/guard-coffeescript

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

这篇关于CoffeeScript - 编译当前目录和所有子目录中的所有.coffee文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆