question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integrate Cake as a dotnet CLI extension for .NET Core applications

See original GitHub issue

I couldn’t find if this has been suggested before, but I was looking at FlubuCore and how they integrate nicely with the dotnet CLI.

It struck me that this might be a perfect fit for cake too. I mean, wouldn’t it be nice to do the following:

  1. Restore regular NuGet packages and Cake with its addins dotnet restore

  2. Run the do-the-thing task that you would normally call with build.ps1 -Target "do-the-thing" dotnet cake do-the-thing

I’m currently using Cake on a few projects here at work, and it’s great! This sort of integration would make it even better though. 👍

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:15
  • Comments:19 (13 by maintainers)

github_iconTop GitHub Comments

4reactions
phillipsjcommented, Dec 15, 2017

So I have started doing exactly this: https://github.com/phillipsj/dotnet-cake

I think it would be easier to just

nuget install dotnet-cake

The run the command like above

dotnet cake build -Target

I have slowed down on it, but with the recent talk of bringing more of the bootstrapper into Cake itself, this is going to be a little simpler.

1reaction
phillipsjcommented, Feb 6, 2018

That is why both options exist. I will pick back up work for the tool later this month.

On Tue, Feb 6, 2018, 3:41 PM Adam Hathcock notifications@github.com wrote:

That doesn’t seem desirable to me.

I want a cake file that’s an easy script to read for gluing builds together.

The worst part of cake has always been invoking it. Installing a global tool that’s just “cake -t build” or something seems great to me.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cake-build/cake/issues/1644#issuecomment-363558351, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfthUYb8NmOc7x1i6tsgWj1jLUBOD5fks5tSLkAgaJpZM4N5j50 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

DotNET Core Cake (CSharp Makefiles)
Create custom builds for your .NET applications using Cake: a free open-source task runner for cross-platform automation in C#.
Read more >
Extensions
EntityFramework6 is a set of Cake aliases for Entity Framework 6.3 or above (not .NET Core) code-first migration using the ef6.exe command line...
Read more >
Cake - Home
Cake (C# Make) is a free and open source cross-platform build automation system with a C# DSL for tasks such as compiling code,...
Read more >
Cake + .NET Core = Write Once, Build Anywhere - YouTube
. NET Core gives us the freedom to write apps once and run them anywhere — Cake ... test, package and deploy our...
Read more >
Cake and .NET Core: we must go deeper
Small story about tricky things in building .Net Core projects using Cake: versioning, tests running, coverage calculation and overall build ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found