In this chapter, we explored the Cake build automation in detail. We walked through the steps of installing Cake and the Cake Bootstrapper. Later, we explored the process of writing Cake build scripts and task creation with sample tasks that can be used for various build activities.
Also, we created a build script for the LoanApplication project, with the build script containing tasks to clean, restore, and build all projects in the solution and build the unit test projects contained in the solution.
We later created a build step in TeamCity that executes the Cake script by using PowerShell as the runner type. Later in the chapter, we walked through setting up Microsoft Visual Studio Team Services, installing Cake into VSTS, and configuring a build step with the Cake task.
In the final chapter, we will explore how to execute xUnit.net tests with Cake scripts. Later in...