Bump to version 0.1.0 -> 0.2.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2022-10-18 09:39:54 +02:00
parent 3ca6c43c9a
commit e88d64ff63
5 changed files with 31 additions and 9 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "sea_battle_cli_player"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
license = "GPL-2.0-or-later"
description = "A Sea Battle game shell client"
@ -12,8 +12,8 @@ categories = [ "games" ]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
sea_battle_backend = { path = "../sea_battle_backend", version = "0.1.0" }
clap = { version = "4.0.15", features = ["derive"] }
sea_battle_backend = { path = "../sea_battle_backend", version = "0.2.0" }
clap = { version = "4.0.16", features = ["derive"] }
log = "0.4.17"
env_logger = "0.9.0"
tui = "0.19.0"

View File

@ -61,3 +61,14 @@ lazy_static::lazy_static! {
pub fn cli_args() -> &'static CliArgs {
&ARGS
}
#[cfg(test)]
mod test {
use crate::cli_args::CliArgs;
#[test]
fn verify_cli() {
use clap::CommandFactory;
CliArgs::command().debug_assert()
}
}