Disable Stylecop on debug config

This commit is contained in:
teinarss
2021-09-17 19:05:36 +02:00
committed by abcdefg30
parent defaf92752
commit 279e7eb1c9
3 changed files with 5 additions and 6 deletions

View File

@@ -110,8 +110,8 @@ function Test-Command
function Check-Command
{
Write-Host "Compiling in debug configuration..." -ForegroundColor Cyan
dotnet build -c Debug --nologo -p:TargetPlatform=win-x64
Write-Host "Compiling in Debug configuration..." -ForegroundColor Cyan
dotnet build -c Debug --nologo -warnaserror -p:TargetPlatform=win-x64
if ($lastexitcode -ne 0)
{
Write-Host "Build failed." -ForegroundColor Red