Skip to content

Commit

Permalink
ci: missing cargo dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cilki committed Jul 25, 2024
1 parent 26d8712 commit 43b1152
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions sandpolis-client-mobile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ crate-type = ["staticlib", "cdylib"]

[dependencies]
anyhow = "1.0.56"
bevy = { version = "0.14.0" }
log = "0.4.11"
sandpolis = { path = "../sandpolis", default-features = false, features = ["client", "layer-desktop"]}

Expand Down
5 changes: 3 additions & 2 deletions sandpolis-client-mobile/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use bevy::prelude::*;
use bevy::prelude::bevy_main;
use sandpolis::CommandLine;

#[bevy_main]
fn main() {
sandpolis::client::main();
sandpolis::client::main(CommandLine::default());
}
2 changes: 1 addition & 1 deletion sandpolis/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use self::ui::AppState;

pub mod ui;

#[derive(Parser, Debug, Clone)]
#[derive(Parser, Debug, Clone, Default)]
pub struct ClientCommandLine {}

pub async fn main(args: CommandLine) -> Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion sandpolis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub mod built_info {
include!(concat!(env!("OUT_DIR"), "/built.rs"));
}

#[derive(Parser, Debug, Clone)]
#[derive(Parser, Debug, Clone, Default)]
#[clap(author, version, about, long_about = None)]
pub struct CommandLine {
#[cfg(feature = "server")]
Expand Down

0 comments on commit 43b1152

Please sign in to comment.