Skip to content

Commit

Permalink
build: update build
Browse files Browse the repository at this point in the history
  • Loading branch information
oneofthezombies committed Feb 6, 2024
1 parent ac99cc9 commit 9dbde8b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/tools/dev/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ fn run(program: &str, args: &[&str]) {
.stderr(Stdio::inherit())
.args(args);
println!("Run {:?} {:?}", program, args);
command
.status()
.expect(format!("Failed to run {:?} {:?}", program, args).as_str());
if let Err(e) = command.status() {
eprintln!("Error: {:?}", e);
std::process::exit(1);
}
}

fn check() {
Expand Down

0 comments on commit 9dbde8b

Please sign in to comment.