1 2 3 4 5 6 7
fn main() { if !std::process::Command::new("./src/build.sh") .status().unwrap().success() { panic!("Script failed"); } }