mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-25 07:45:17 +00:00
14 lines
344 B
Rust
14 lines
344 B
Rust
use std::process::Command;
|
|
|
|
fn main() {
|
|
println!("cargo:rerun-if-changed=../zerog-storage-client");
|
|
|
|
let status = Command::new("go")
|
|
.current_dir("../zerog-storage-client")
|
|
.args(vec!["build", "-o", "../target"])
|
|
.status()
|
|
.unwrap();
|
|
|
|
println!("build zerog-storage-client with status {}", status);
|
|
}
|