Updated deb and generate-rpm parameters
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine 2022-09-19 19:16:22 -04:00
parent 16f2f26236
commit b693f0cda9

View File

@ -1,11 +1,30 @@
[package]
name = "mcst"
description = "Bit Goblin Minecraft server management tool."
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
readme = "README.md"
license = "BSD 2-Clause"
authors = ["Gregory Ballantine <gballantine@bitgoblin.tech>"]
[dependencies]
clap = { version = "3.2", features = ["derive"] }
reqwest = { version = "0.11", features = ["blocking"] }
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 = "*"