Переглянути джерело

Disable documentation and debug in build

Joshua Boniface 6 роки тому
батько
коміт
dac2c98d8a
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      deployment/debian-package-x64/pkg-src/rules

+ 2 - 1
deployment/debian-package-x64/pkg-src/rules

@@ -32,7 +32,8 @@ override_dh_auto_test:
 override_dh_clistrip:
 override_dh_clistrip:
 
 
 override_dh_auto_build:
 override_dh_auto_build:
-	dotnet publish --configuration $(CONFIG) --output='$(CURDIR)/usr/lib/jellyfin/bin' --self-contained --runtime $(DOTNETRUNTIME) Jellyfin.Server
+	dotnet publish --configuration $(CONFIG) --output='$(CURDIR)/usr/lib/jellyfin/bin' --self-contained --runtime $(DOTNETRUNTIME) \
+		"-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none" Jellyfin.Server
 
 
 override_dh_auto_clean:
 override_dh_auto_clean:
 	dotnet clean -maxcpucount:1 --configuration $(CONFIG) Jellyfin.Server || true
 	dotnet clean -maxcpucount:1 --configuration $(CONFIG) Jellyfin.Server || true