Installation

In order to use the Cake Bootstrapper, Cake needs to be installed. The easy approach to install Cake and test run the installation is to clone or download a .zip file, which is the Cake build example repository located at: https://github.com/cake-build/example. The example repository contains a simple project and all the files necessary to run the Cake script.

In the example repository, there are certain files of interest—build.ps1 and build.sh. They are the bootstrapper scripts that ensure that the needed dependencies by Cake together with Cake and the necessary files are installed. These scripts make invoking Cake easier. The build.cake file is the build script; the build script can be renamed, but the bootstrapper will locate ...

Get C# and .NET Core Test Driven Development 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.