0g-storage-node/node/build.rs

14 lines
335 B
Rust
Raw Normal View History

2024-01-03 10:24:52 +00:00
use std::process::Command;
fn main() {
println!("cargo:rerun-if-changed=../0g-storage-client");
2024-01-03 10:24:52 +00:00
let status = Command::new("go")
.current_dir("../0g-storage-client")
2024-01-03 10:24:52 +00:00
.args(vec!["build", "-o", "../target"])
.status()
.unwrap();
println!("build 0g-storage-client with status {}", status);
2024-01-03 10:24:52 +00:00
}