chocolatey / Chocolatey.Cake.Recipe

A set of convention based Cake scripts for building Chocolatey projects
Apache License 2.0
5 stars 9 forks source link

Add ability to run dotnet-format as part of build #120

Closed gep13 closed 10 months ago

gep13 commented 10 months ago

Checklist

Is Your Feature Request Related To A Problem? Please describe.

No, not a problem, just an enhancement to the overall execution of Chocolatey.Cake.Recipe

Describe The Solution. Why is it needed?

Execution of dotnet-format should be automatically performed on each build, generating an artifact that contains information about the problems that were found, however, this should not fail the build (at least, not yet). In addition, a second task should be included to perform the fixups for the problems that exist in the codebase.

Additional Context

An alias to directly run dotnet-format exists within a newer version of Cake 2.1.0, but since Chocolatey.Cake.Recipe targets an earlier version of Cake, it will not be possible to use this alias.

Related Issues

N/A

choco-bot commented 9 months ago

:tada: This issue has been resolved in version 0.25.0 :tada:

The release is available on:

Your GitReleaseManager bot :package::rocket: