From 745fba3bf830df4b6199662a5b6e0dfdba9f751e Mon Sep 17 00:00:00 2001 From: ta264 Date: Thu, 6 Aug 2020 21:42:03 +0100 Subject: [PATCH] Disable stylecop for backend build on azure Linting issues are picked up by the analyze task --- azure-pipelines.yml | 3 +++ src/Directory.Build.props | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2cc94837a..b407b214b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -44,6 +44,9 @@ stages: pool: vmImage: $(imageName) + variables: + # Disable stylecop here - linting errors get caught by the analyze task + EnableStylecop: 'false' steps: # Set the build name properly. The 'name' property won't recursively expand so hack here: - powershell: Write-Host "##vso[build.updatebuildnumber]$($env:READARRVERSION)" diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 7f0c3887f..bf8f12fa2 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -92,7 +92,7 @@ - + all