Commit 3856b51f authored by Jaromil's avatar Jaromil
Browse files

build.rs status exit ok

parent 85646c2f
......@@ -8,6 +8,9 @@ npm:
tar cvfz zenroom-npm.tar.gz zenroom-npm
rm -rf zenroom-npm
meson:
make -C .. meson
clean:
rm -f VERSION
rm -rf javascript/emsdk/
......
......@@ -7,7 +7,8 @@ use std::process::Command;
fn main() {
let mut cmd = Command::new("make");
cmd.args(&["-C", "../..", "meson"]);
let status = cmd.status().expect("failed to run meson");
// let status = cmd.status().expect("failed to run meson");
let status = cmd.status().exit_ok();
// TODO: use status.exit_ok() when it gets to stable
assert!(status.success());
let build_path = PathBuf::from(env::current_dir().unwrap());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment