Skip to content
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

[WIP] Coverlet tool execution #10

Closed
wants to merge 1 commit into from

Conversation

StanleyGoldman
Copy link

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:

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

@StanleyGoldman
Copy link
Author

@Romanx Take a look when you can, please feel free to push to the branch if you'd like.

@Romanx
Copy link
Owner

Romanx commented Oct 19, 2018

@StanleyGoldman Hi there. I think i've got this working but i'm unfortunately not able to push to your fork. Not sure why or how that works, not sure if you've got any idea? 😄

@StanleyGoldman
Copy link
Author

Hey @Romanx, that's really weird. I have this checkbox ticked.

image

But go ahead, close this pull request and push a new branch to your own repo with my stuff.
I'll find you there...

@Romanx
Copy link
Owner

Romanx commented Oct 22, 2018

@StanleyGoldman It's probably something i'm doing wrong. I'll open it here and open a PR and we'll continue the discussion. Thanks for your contribution up to now!

@Romanx
Copy link
Owner

Romanx commented Oct 23, 2018

Superseded by #10

@Romanx Romanx closed this Oct 23, 2018
@StanleyGoldman StanleyGoldman deleted the coverlet-tool branch October 23, 2018 18:31
@StanleyGoldman
Copy link
Author

Superseded by #11 you mean..

@Romanx
Copy link
Owner

Romanx commented Oct 23, 2018

@StanleyGoldman yup indeed i do 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants