📦 build: set up `cargo-deb` configuration for `ptth_multi_call_server`

main
_ 2023-08-28 19:54:48 -05:00
parent cce326435b
commit 2a90930723
2 changed files with 13 additions and 3 deletions

4
Cargo.lock generated
View File

@ -13,7 +13,7 @@ dependencies = [
[[package]]
name = "always_equal"
version = "1.0.2"
version = "1.0.3"
[[package]]
name = "ansi_term"
@ -1245,7 +1245,7 @@ dependencies = [
[[package]]
name = "ptth_multi_call_server"
version = "0.1.0"
version = "1.1.1"
dependencies = [
"anyhow",
"ctrlc",

View File

@ -1,6 +1,10 @@
[package]
name = "ptth_multi_call_server"
version = "0.1.0"
# Keep this synced with the Debian package name
# dpkg doesn't let us do side-by-side versioning, shrug
version = "1.1.1"
authors = ["Trish"]
edition = "2018"
license = "AGPL-3.0"
@ -31,3 +35,9 @@ tracing = "0.1.25"
version = "0.11.1"
default-features = false
features = ["stream", "rustls-tls", "hyper-rustls"]
[package.metadata.deb]
assets = [
["target/release/ptth_multi_call_server", "usr/bin/ptth_multi_call_server_1.1", "755"],
]
name = "ptth-multi-call-server-1.1"