A Piece of Cake - C# powered cross platform build automation
summary
Cake is an executable that compiles a C# script (build.cake) via Roslyn or Mono to run a reproducible, cross-platform build automation pipeline. The demo restores 47 NuGet packages, runs MSBuild or xbuild depending on OS, executes XUnit tests, creates a NuGet .nupkg and outputs version/metadata, and supports Visual Studio debugging of the script. Core aliases cover NuGet, MSBuild, XUnit, WiX and more; project boasts about 55,000 downloads and a C# DSL for familiar, maintainable builds.
AI-written summary · about
chapters (29)
- 0:00Introduction
- 0:45What is Cake
- 3:38What is a build
- 6:21Cake overview
- 9:20Cake tools
- 11:15Why do I need Cake
- 13:27Core philosophies of Cake
- 17:44Can I use other build tools
- 20:23Github repo
- 20:44Demo notes
- 21:43Start package restore step
- 23:11Cake bootstrapper
- 26:40Build up cake file
- 28:23VSCode Interactive Terminal
- 29:53New Get Package Restore
- 34:35Run Build
- 35:23Run Build on UNIX
- 37:02Run Unit Tests
- 37:39Run as part of the build
- 38:22Preprocessor directives
- 38:48Changing the URI syntax
- 39:17Running the build again
- 39:48Read the stack trace
- 40:15Clean directories
- 40:48Xunit test
- 41:30Get packaging
- 41:50New package step
- 43:15Clean task to include
- 47:20Debugging
related talks
38mCooking the Cake for NuGet Packages
01h 12mCake + .NET Core = Write Once, Build Anywhere
48mGitHub Actions DevOps Pipelines as code using C#
39mGitHub Actions DevOps Pipelines as Code using C# and Cake SDK
58mBuild Automation Revolution
58mNUKE — a modern build system for C#/.NET
54mBuilding CI/CD Pipelines with NUKE
55m10 Ingredients for an AKEless Build System
