详细的rakefile-将所有执行的命令行打印到stdout

Zoh*_*r81 4 ruby debugging makefile verbose

我刚刚开始构建我的第一个Rakefile(makefile的Ruby版本),并且我想使用详细模式(例如makefile -V或bash -x)轻松调试脚本,是否可以在ruby上这样做?

谢谢

Ale*_* C. 5

rake --trace 可能会给您您需要的一切