mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-30 20:34:49 +01:00
Use luarocks make --local
in build.rs
This commit is contained in:
parent
e18b2a12d3
commit
c86300228a
1 changed files with 8 additions and 0 deletions
8
build.rs
8
build.rs
|
@ -32,4 +32,12 @@ fn main() {
|
|||
.unwrap()
|
||||
.wait()
|
||||
.unwrap();
|
||||
|
||||
std::env::set_current_dir("api/lua_grpc").unwrap();
|
||||
std::process::Command::new("/bin/sh")
|
||||
.arg("luarocks")
|
||||
.arg("make")
|
||||
.arg("--local")
|
||||
.spawn()
|
||||
.expect("Luarocks is not installed");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue