4 Build Automatically
An unattended build is an automatic one. However, before you can implement an automatic build, you must already have a manual build system in place that you can run with a single command. If you don’t have that, back up to 3, Script Your Build . You can’t automate a process that doesn’t exist.
Once you can build your product automatically, how often should you do so? Ideally, you will rebuild every time the code changes. That way you’ll know immediately if any change broke your build. Add a lightweight set of smoke tests to this system, and you also get a basic level of functional insurance as well. This type of system is called Continuous Integration.[5] A Continuous Integration (or CI) tool sits on a clean, nondeveloper ...
Get Ship it! now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.