Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #7
At first I was just going to quickly rip what I implemented here: octokit/octokit.net#1866
But then I ended up looking at decompiled sources of some methods and noticed how Cake handles calling dotnet tools so I quickly made a stub. I could use your help to finish filling it in as I'm pretty new to cake and coverlet.
I don't have the time to finish right now, but I'm just not sure about the arguments. I guess I'm just not sure If the functionality in
CoverletAliases.ProcessArguments
will be correct.Also I'm using Cake.Frosting, so I just need the methods implemented. I believe you might have some scripts to test that you can adapt to testing as a
dotnet tool
.Todo:
dotnet tool
https://github.com/StanleyGoldman/Cake.Coverlet/blob/8ec8e6938e9eaf749f198fdc7b52224da72d3462/src/Cake.Coverlet/CoverletTool.cs#L38-L45
Reference material
https://github.com/cake-build/cake/blob/develop/src/Cake.Common/Tools/DotNetCore/DotNetCoreAliases.cs#L1043-L1057
https://github.com/cake-build/cake/blob/develop/src/Cake.Common/Tools/DotNetCore/VSTest/DotNetCoreVSTester.cs
https://github.com/cake-build/cake/blob/develop/src/Cake.Common/Tools/DotNetCore/VSTest/DotNetCoreVSTestSettings.cs