mirror of
https://github.com/Radarr/Radarr
synced 2026-05-09 01:43:43 +02:00
Disable stylecop for backend build on azure
Linting issues are picked up by the analyze task
This commit is contained in:
parent
07295cd7b2
commit
745fba3bf8
2 changed files with 4 additions and 1 deletions
|
|
@ -44,6 +44,9 @@ stages:
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: $(imageName)
|
vmImage: $(imageName)
|
||||||
|
variables:
|
||||||
|
# Disable stylecop here - linting errors get caught by the analyze task
|
||||||
|
EnableStylecop: 'false'
|
||||||
steps:
|
steps:
|
||||||
# Set the build name properly. The 'name' property won't recursively expand so hack here:
|
# Set the build name properly. The 'name' property won't recursively expand so hack here:
|
||||||
- powershell: Write-Host "##vso[build.updatebuildnumber]$($env:READARRVERSION)"
|
- powershell: Write-Host "##vso[build.updatebuildnumber]$($env:READARRVERSION)"
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Set up stylecop -->
|
<!-- Set up stylecop -->
|
||||||
<ItemGroup Condition="'$(ReadarrProject)'=='true'">
|
<ItemGroup Condition="'$(ReadarrProject)'=='true' and '$(EnableStylecop)'!='false'">
|
||||||
<!-- StyleCop analysis -->
|
<!-- StyleCop analysis -->
|
||||||
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
|
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue