A Piece of Cake - DDD North

Post on 11-Jan-2017

165 views 0 download

Transcript of A Piece of Cake - DDD North

A Piece of Cake

Gary Ewan ParkEmail: gary@cakebuild.netTwitter: @gep13Web: http://www.gep13.co.uk

C# powered cross platform build automation

What is a build?

Typical Build Workflow

Clean

Build

Unit Tests

Test Coverage

StyleCop FxCop

DupFinder InspectCode

Package Publish

Package Restore

What is Cake?

A Definition…

“Cake (C# Make) is a cross platform build automation system with a C# DSL to do things like compiling code, copy files/folders, running unit tests, compress files and build NuGet packages.”

Reference http://cakebuild.net/

How does Cake work?

build.cake cake.exe

#tool#addin#reference#load

Roslynor

Mono

nupkgExeMsiTests

Anything you can think of

ArgumentsConfiguration

What Tools am I able to use with Cake?

Chocolatey

DNU

DotCover

DupFinder

Fixie

GitLink GitReleaseManager

GitReleaseNotes

GitVersion

ILMerge

ILRepack InspectCode

MSBuild

MSTest

NSISNUnit

OctopusDeploy

OpenCover

ReportGenerator

ReportUnit

Roundhouse

SignTool

SpecFlow

TextTransform

WiX

XBuild

XUnit

IISXamarin

PowerShell

Gitter

KuduCMake

TopShelf

Yaml

Docker

Gulp

S3

FluentMigrator

EC2

XCode

Json

VsCode

WebDeploy

CloudFront

ReSharperReportsElasticLoadBalancing

DocFxWyam

StyleCop

StrongNameTool

Orchard

XdtTransform

Npm

Slack

Okay, but why do I need it?

We build Cake with Cake on…

9 different CI Servers 3 different operating systems

Can’t I just use… MAKEFAKECMakeMSBuildNAntPsakeBau?

Let’s bake some Cake!

Clean

Build

Unit Tests

Test Coverage

StyleCop FxCop

DupFinder InspectCode

Package Publish

Package Restore

Source Code

http://gep13.me/CakeDemos

Demos

Questions?

Feel free to get in touchEmail: gep13@gep13.co.uk

Twitter: @gep13Web: http://www.gep13.co.uk

Resources

• Cake Documentation• http://cakebuild.net/docs

• Source Code• https://github.com/cake-build/cake

• Presentations• http://cakebuild.net/docs/resources/presentations

• Podcasts• http://cakebuild.net/docs/resources/podcasts

• Videos• http://cakebuild.net/docs/resources/videos

• Blog Posts• http://cakebuild.net/docs/resources/blogs

Sponsors