Disable Stylecop on debug config
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<LangVersion>7.3</LangVersion>
|
<LangVersion>7.3</LangVersion>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
||||||
<EngineRootPath Condition="'$(EngineRootPath)' == ''">..</EngineRootPath>
|
<EngineRootPath Condition="'$(EngineRootPath)' == ''">..</EngineRootPath>
|
||||||
<OutputPath>$(EngineRootPath)/bin</OutputPath>
|
<OutputPath>$(EngineRootPath)/bin</OutputPath>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
|||||||
6
Makefile
6
Makefile
@@ -97,11 +97,11 @@ clean:
|
|||||||
|
|
||||||
check:
|
check:
|
||||||
@echo
|
@echo
|
||||||
@echo "Compiling in debug mode..."
|
@echo "Compiling in Debug mode..."
|
||||||
ifeq ($(RUNTIME), mono)
|
ifeq ($(RUNTIME), mono)
|
||||||
@$(MSBUILD) -t:build -restore -p:Configuration=Debug -p:TargetPlatform=$(TARGETPLATFORM) -p:Mono=true
|
@$(MSBUILD) -t:build -restore -p:Configuration=Debug -warnaserror -p:TargetPlatform=$(TARGETPLATFORM) -p:Mono=true
|
||||||
else
|
else
|
||||||
@$(DOTNET) build -c Debug -nologo -p:TargetPlatform=$(TARGETPLATFORM)
|
@$(DOTNET) build -c Debug -nologo -warnaserror -p:TargetPlatform=$(TARGETPLATFORM)
|
||||||
endif
|
endif
|
||||||
ifeq ($(TARGETPLATFORM), unix-generic)
|
ifeq ($(TARGETPLATFORM), unix-generic)
|
||||||
@./configure-system-libraries.sh
|
@./configure-system-libraries.sh
|
||||||
|
|||||||
4
make.ps1
4
make.ps1
@@ -110,8 +110,8 @@ function Test-Command
|
|||||||
|
|
||||||
function Check-Command
|
function Check-Command
|
||||||
{
|
{
|
||||||
Write-Host "Compiling in debug configuration..." -ForegroundColor Cyan
|
Write-Host "Compiling in Debug configuration..." -ForegroundColor Cyan
|
||||||
dotnet build -c Debug --nologo -p:TargetPlatform=win-x64
|
dotnet build -c Debug --nologo -warnaserror -p:TargetPlatform=win-x64
|
||||||
if ($lastexitcode -ne 0)
|
if ($lastexitcode -ne 0)
|
||||||
{
|
{
|
||||||
Write-Host "Build failed." -ForegroundColor Red
|
Write-Host "Build failed." -ForegroundColor Red
|
||||||
|
|||||||
Reference in New Issue
Block a user