-
-
Notifications
You must be signed in to change notification settings - Fork 365
Replace FAKE with CAKE #214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@ErikSchierboom I am interested in working on this one. I have done some reading on Cake today. Combined with #213, this would remove the dependency from paket and only use Nuget for dependency management, right? |
@tushartyagi That would be brilliant! This would indeed remove the need to use Paket, which could thus be removed. Let me know if you have any more questions! By the way, did you know that Cake also has a Visual Studio extension? |
@tushartyagi Oh, and just to be clear, this work should once again be based on PR #199, but you probably knew that already :) |
@ErikSchierboom Thanks for the info. Your comment has changed my direction from Cake.Paket to Cake.VisualStudio 😃 |
You're welcome! :) Having it integrated right into your IDE makes for far easier development. By the way, there is also a Cake Gitter room if you have any questions. |
@tushartyagi I got an email stating that you put some questions in this issue, but I can't seem to find the comment. Does that mean you figured it out yourself? |
@ErikSchierboom Yes. My question was why are we copying everything to the Anyhow, can you tell me why in |
@tushartyagi Great question! Here is a short description what the build script does:
Hope this helps clear up things! |
@tushartyagi By the way, if you want to get really fancy and experimental, you could look at Cake.Frosting. That is a standalone Cake runner that runs under .NET Core. I think it would be ideal for us, as we could then completely lose the Mono dependency. However, it is still in alpha, so I don't know if it works. If you feel like it, feel free to look at it. Otherwise, just use regular Cake. |
@tushartyagi Giving it a bit more thought, the I have also been referred to two projects using the |
Whoa! That's too much info. :P
Let me tell you the progress.
I have added the bootstrap packages (powershell and shell, which come free
from the Cake developers).
I've defined the tasks which clean, change stub to example, build, and
test the code. These are working fine when I test them with the first few
projects. (Not wasting time for testing all 104). I still have to make
changes for refactoring and default projects, which we discussed above.
Although in the build file, (`cake.build`) I am using `Dotnetcore*`
commands [0], under the impression that cake will do the cross platform
stuff for me.
From what I understand, ditching mono would mean changing the bootstrap
file since that is the place where I remember seeing `mono` commands. Am I
correct?
Also, I am travelling this weekend so will start working on this again from
Monday. :)
[0]: http://cakebuild.net/dsl/dotnetcore/
…On 3 Mar 2017 8:02 pm, "Erik Schierboom" ***@***.***> wrote:
@tushartyagi <https://github.com/tushartyagi> Giving it a bit more
thought, the Cake.Frosting bit is probably a bit too alpha. However, I've
just learned of the Cake.CoreCLR NuGet package, which is a .NET Core
compatible version of Cake. That will allow us to completely ditch Mono and
further simplify the build.
I have also been referred to two projects using the Cake.CoreCLR package:
Cake.Kudu <https://github.com/wcomab/Cake.Kudu> and
BitbucketPipelinesShield
<https://github.com/devlead/BitbucketPipelinesShield/blob/master/.travis.yml>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABjgOQlZuw_apR1nJc41k4WR6L_bfkXLks5riCRrgaJpZM4MNIzD>
.
|
@tushartyagi That's great! I would suggest to just ignore my above comments for now and just get your version working (which also uses Mono). Once we get that working, we can move on. As for the |
@tushartyagi I've just merged #199, which contains the .NET Core PR! 🎉 How are things looking at on the Cake side? |
@ErikSchierboom I was travelling and then stuck with work. Will start on this today and hopefully complete it in a day or two. :) |
@tushartyagi No worries, there is no haste :) Great to hear you'll be continuing your work! |
@ErikSchierboom Please check #219 for this issue. |
@tushartyagi I will check it tonight, thanks! |
This has been fixed in #226. |
We currently use FAKE as our build tool. We should consider switching to Cake, which has two advantages over using FAKE:
As such, I feel that Cake might better a better fit for the C# track than FAKE, especially given the fact that our .NET Core build script is now much simpler.
The text was updated successfully, but these errors were encountered: