Updated deb and generate-rpm parameters
This commit is contained in:
parent
16f2f26236
commit
b693f0cda9
23
Cargo.toml
23
Cargo.toml
@ -1,11 +1,30 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "mcst"
|
name = "mcst"
|
||||||
|
description = "Bit Goblin Minecraft server management tool."
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
readme = "README.md"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
license = "BSD 2-Clause"
|
||||||
|
authors = ["Gregory Ballantine <gballantine@bitgoblin.tech>"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "3.2", features = ["derive"] }
|
clap = { version = "3.2", features = ["derive"] }
|
||||||
reqwest = { version = "0.11", features = ["blocking"] }
|
reqwest = { version = "0.11", features = ["blocking"] }
|
||||||
shellexpand = "2.1"
|
shellexpand = "2.1"
|
||||||
|
|
||||||
|
[package.metadata.deb]
|
||||||
|
license-file = "LICENSE"
|
||||||
|
depends = "openjdk-17-jre"
|
||||||
|
section = "games"
|
||||||
|
assets = [
|
||||||
|
["target/release/mcst", "usr/bin/mcst", "755"],
|
||||||
|
["README.md", "usr/share/doc/zealot/README", "644"]
|
||||||
|
]
|
||||||
|
|
||||||
|
[package.metadata.generate-rpm]
|
||||||
|
assets = [
|
||||||
|
{ source = "target/release/mcst", dest = "/usr/bin/mcst", mode = "755" },
|
||||||
|
{ source = "README.md", dest = "/usr/share/doc/mcst/README", mode = "644"}
|
||||||
|
]
|
||||||
|
[package.metadata.generate-rpm.requires]
|
||||||
|
java-17-openjdk = "*"
|
||||||
|
Loading…
Reference in New Issue
Block a user