Disable dotnet format from running on appveyor too

This commit is contained in:
Bartłomiej Dach
2021-06-14 23:27:58 +02:00
parent 3d076ff54d
commit 1f4ecd19bf

View File

@@ -123,8 +123,10 @@ Task("CodeFileSanity")
});
});
Task("DotnetFormat")
.Does(() => DotNetCoreTool(sln.FullPath, "format", "--dry-run --check"));
// Temporarily disabled until the tool is upgraded to 5.0.
// The version specified in .config/dotnet-tools.json (3.1.37601) won't run on .NET hosts >=5.0.7.
// Task("DotnetFormat")
// .Does(() => DotNetCoreTool(sln.FullPath, "format", "--dry-run --check"));
Task("PackFramework")
.Does(() => {
@@ -222,7 +224,7 @@ Task("Build")
.IsDependentOn("Clean")
.IsDependentOn("DetermineAppveyorBuildProperties")
.IsDependentOn("CodeFileSanity")
.IsDependentOn("DotnetFormat")
//.IsDependentOn("DotnetFormat") <- To be uncommented after fixing the task.
.IsDependentOn("InspectCode")
.IsDependentOn("Test")
.IsDependentOn("DetermineAppveyorDeployProperties")