Cake.Recipe icon indicating copy to clipboard operation
Cake.Recipe copied to clipboard

Reuse build server abstraction from Cake.Issues.Recipe

Open pascalberger opened this issue 5 years ago • 2 comments

Cake.Issues.Recipe already contains a build server abstraction layer, which is available on the IssuesData class.

It should be possible to make the buildserver abstraction extensible, so that common functionality and build server detection can be reused in Cake.Recipe and extended with additional required information.

pascalberger avatar Aug 19 '20 20:08 pascalberger

@pascalberger it is interesting that you bring this up, since I had a similar idea. I also have Cake.Wyam.Recipe and Cake.VsCode.Recipe, where I wanted to bring in build server support, and I was thinking about breaking it out into its own “thing”. Do you think it would make sense to break it out into its completely own “thing” which can be included into all recipes that want to consume it?

gep13 avatar Aug 20 '20 06:08 gep13

That's definitely an option which I also though about. It might also be something which can be done in Cake.Common (after 1.0). For the time being it is probably the best to do it in its own recipe script.

pascalberger avatar Aug 20 '20 07:08 pascalberger