Skip to content

Commit

Permalink
minor updates to gccl
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDavenport committed Mar 14, 2024
1 parent c235372 commit 723016d
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 59 deletions.
112 changes: 56 additions & 56 deletions Cargo.lock

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

13 changes: 11 additions & 2 deletions gamercade_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,16 @@ pub fn main() {
Err(e) => println!("{e}"),
}
}
} else if let Err(e) = cli.command.run() {
println!("{e}");
} else {
match cli.command.run() {
Ok(Some(mut child)) => {
match child.wait() {
Ok(code) => println!("Process ended with exit status: {code} "),
Err(e) => println!("Process terminated unsuccessfully {e}"),
}
},
Ok(None) => println!("Process successful."),
Err(e) => println!("Failed to run: {e}."),
}
}
}
2 changes: 1 addition & 1 deletion gamercade_console/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ serde_json = "1.0.96"
bytemuck = "1.13.1"

# Scripting
wasmtime = "18.0.1"
wasmtime = "18.0.2"

# Random
fastrand = "1.9.0"
Expand Down

0 comments on commit 723016d

Please sign in to comment.