mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-08 12:43:19 +02:00
Fix Docker build: disable StyleCop analyzers during publish
Upstream has TreatWarningsAsErrors=true and StyleCop violations in existing code. The CI backend build already uses EnableAnalyzers=false. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1b6d3fbeb7
commit
bc5688bdd1
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ RUN dotnet publish src/NzbDrone.Console/Prowlarr.Console.csproj \
|
|||
-r "$(cat /tmp/rid)" \
|
||||
--self-contained \
|
||||
--no-restore \
|
||||
-p:EnableAnalyzers=false \
|
||||
-o /build/bin && \
|
||||
rm -rf /build/bin/Prowlarr.Update /build/bin/Prowlarr.Windows.* \
|
||||
/build/bin/ServiceInstall.* /build/bin/ServiceUninstall.*
|
||||
|
|
|
|||
Loading…
Reference in a new issue