aboutsummaryrefslogtreecommitdiff
path: root/deployment
diff options
context:
space:
mode:
authorJoshua Boniface <joshua@boniface.me>2019-02-24 23:20:04 -0500
committerJoshua Boniface <joshua@boniface.me>2019-02-24 23:20:04 -0500
commitdac2c98d8aebe9e18c7b6631921bba7676f74daf (patch)
treef7445a86d47ad70a9b2aa50287cb83d7d0a7f41e /deployment
parentc2e57aba27e883e0418c9c50fc9323380e67aa33 (diff)
Disable documentation and debug in build
Diffstat (limited to 'deployment')
-rw-r--r--deployment/debian-package-x64/pkg-src/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/deployment/debian-package-x64/pkg-src/rules b/deployment/debian-package-x64/pkg-src/rules
index 15cbefa4e..62f75bc6b 100644
--- a/deployment/debian-package-x64/pkg-src/rules
+++ b/deployment/debian-package-x64/pkg-src/rules
@@ -32,7 +32,8 @@ override_dh_auto_test:
override_dh_clistrip:
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:
dotnet clean -maxcpucount:1 --configuration $(CONFIG) Jellyfin.Server || true