-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#120) Add ability to run dotnet-format
This will be executed as part as the AnalyzeTask, and by default, no changes will be made to any source files, i.e. run the --check option. A report will be generated in the TestResults folder. An additional Task, Run-DotNetFormat, which can be executed to actually perform the fixups that were found. There is a top level parameter, shouldRunDotNetFormat, which can be used to control whether this check task runs. This can be set within the recipe.cake file, and as a command line option. This isn't set on the Run-DotNetFormat task, since this task has to be run directly, therefore you are explicitly opting in to run that task, so no additional criteria is required.
- Loading branch information
Showing
5 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters