We have constantly been updating our Fastfile throughout this chapter as we learned new concepts. Now is our opportunity to actually put some structure and method to our Fastfile—as it is the backbone of our continuous delivery workflow—by adding some best practices. Evaluating and tweaking your Fastfile should be part of your routine, looking for ways to optimally manage and streamline it, so let's go ahead and do that.
Organizing your lanes
before_all and after_all lanes
The first and last lanes in your Fastfile should be before_all and after_all, system lanes that are called before any other lane and after any other lane, respectively. That is, if you call a beta testing or building lane, rather than...