如果你的组件不是为宏和自动化特别设计的,那么在自动化过程中处理一条命令将会很难跟踪到问题。
Unless your component is specifically designed for macros and automations handling a command during automation will lead to hard to track down issues.
使用命令行自动化维护操作。
我将本节仅限于非交互式unix命令的简单自动化。
I will limit this section to only simple automation of non-interactive UNIX commands.
But we'll soon see when the commands you need to type become longer and more complicated, they just become annoying to type and annoying to remember so make generally automates this process for us.
等下我们将体会到,当我们要键入的命令是,很长,很复杂的时候,要键入它们就变得比较麻烦,并且也很难记忆,所以make通常使这个过程自动化。
应用推荐