Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
What to Upload to SlideShare
What to Upload to SlideShare
Loading in …3
×
1 of 25

NetPonto - Build automation - it's a piece of cake!

0

Share

Download to read offline

Do you feel productive learning a new scripting language, trying to automate your build process? It’s a pain when you try to setup a new Build Server?

If you are a C# Developer and you have answered yes to any of these questions, this session is for you.

Cake is a cross platform build automation solution that leverage your C# skills.

In this session we will explore the ingredients of this Cake and see how you can build a script to compile an application, run unit tests and more.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

NetPonto - Build automation - it's a piece of cake!

  1. 1. Build automation? It’s a piece of Cake. Guilherme Ferreira @gsferreira http://netponto.org18ª Reunião Presencial no Porto 04/11/2017
  2. 2. Guilherme Ferreira @gsferreira http://gsferreira.com Porto, Portugal Software Architect @numbersbelieve @netponto community organizer Father and Husband | Black Lab Companion Ankylosing Spondylitis Fighter
  3. 3. Library
  4. 4. Library !== “Libraria”
  5. 5. CTRL + SHIFT + B
  6. 6. Why it hurts?
  7. 7. Build should be… • a separate process • a living form of documentation • repeatable • made up of more than one solution if needed • valid without binaries or sensitive information in repository • versioned
  8. 8. So that… • we can increase team productivity • we can decrease complexity of development and CI/CD
  9. 9. Build workflow Clean Package Restore Build Run Unit Tests Test Coverage Package Deploy
  10. 10. What is Cake? (http://cakebuild.net/) • Build automation system • C# Make (F# - Fake, Powershell - psake, …) • Learn a new language  • .NET shop • Built on top of Roslyn and Mono • Cross Platform • Detailed documentation
  11. 11. What is Cake? (http://cakebuild.net/) • Built-in methods for common operations (C# DSL) • Build agnostic from Build Server
  12. 12. Cake is built with Cake on…
  13. 13. Open souce – healthy community
  14. 14. Coming soon…
  15. 15. Intellisense
  16. 16. Demo
  17. 17. Build workflow Clean Package Restore Build Run Unit Tests Test Coverage Package Deploy ASP.NET Core xUnit.net Octopus Deploy
  18. 18. How I do it? • GIT / Visual Studio Team Services • TeamCity • Octopus Deploy • nuget • npm • .net core • xUnit V2 • Jest • Docker
  19. 19. Extensions: Visual Studio • Syntax Highlighting • Templates • Task Runner
  20. 20. Extensions: VS Code • Syntax Highlighting • Snippets • Intellisense (Comming soon)
  21. 21. Wrapping up • Versioned Build Script • Use your C# Super Powers • Cross Platform • Extensible • Healthy community • More than 100 addins • Intellisense ❤ • A piece of cake!
  22. 22. Questions? @gsferreira https://gsferreira.com https://github.com/gsferreira/cakedemo

Editor's Notes

  • Fear of unknown
    “for loops” are for computers
    Delivery is painful

  • ×