cake-build / cake

:cake: Cake (C# Make) is a cross platform build automation system.
https://cakebuild.net
MIT License
3.92k stars 731 forks source link

Provide attributes for supported runners, operating systems and runners in extensions #3105

Open pascalberger opened 3 years ago

pascalberger commented 3 years ago

There's currently no structured way for an extension to express on which Cake runner, operating system or platform it runs. There might be issues with dependencies on different runners, issues with paths on different operating systems or an addin can target a more restrictive set of TFM than what Cake is available on. Current guidelines suggests to mention this in XML comment. It would be helpful to have attributes available:

These addins can be used for two cases:

Existing addins which don't provide attributes should be treated as compatible, with a warning.

augustoproiete commented 3 years ago

A couple of thoughts to consider: