📦 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]] [[package]]
name = "always_equal" name = "always_equal"
version = "1.0.2" version = "1.0.3"
[[package]] [[package]]
name = "ansi_term" name = "ansi_term"
@ -1245,7 +1245,7 @@ dependencies = [
[[package]] [[package]]
name = "ptth_multi_call_server" name = "ptth_multi_call_server"
version = "0.1.0" version = "1.1.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"ctrlc", "ctrlc",

View File

@ -1,6 +1,10 @@
[package] [package]
name = "ptth_multi_call_server" 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"] authors = ["Trish"]
edition = "2018" edition = "2018"
license = "AGPL-3.0" license = "AGPL-3.0"
@ -31,3 +35,9 @@ tracing = "0.1.25"
version = "0.11.1" version = "0.11.1"
default-features = false default-features = false
features = ["stream", "rustls-tls", "hyper-rustls"] 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"