Skip to content
Snippets Groups Projects
Unverified Commit 3c80cd2a authored by Sergey V's avatar Sergey V
Browse files

build: remove "fetch tarantool" from build rs

parent f77d1e5d
No related branches found
No related tags found
1 merge request!48build: remove "fetch tarantool" from build rs
Pipeline #3585 passed
use std::path::Path;
fn main() {
fetch_tarantool();
patch_tarantool();
build_tarantool();
}
fn fetch_tarantool() {
let status = std::process::Command::new("git")
.arg("submodule")
.arg("update")
.arg("--init")
.arg("--recursive")
.status()
.expect("git couldn't be executed");
if !status.success() {
panic!("failed to initialize tarantool-sys submodule")
}
}
fn patch_tarantool() {
let status = std::process::Command::new("git")
.current_dir("tarantool-sys")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment