Rename rust env to decide build dir
This commit is contained in:
@ -69,7 +69,7 @@ fn main() {
|
||||
rust_build_path.join("Release").to_str().unwrap()
|
||||
);
|
||||
} else {
|
||||
let unicorn_dir = if let Result::Ok(_) = env::var("CI") {
|
||||
let unicorn_dir = if let Result::Ok(_) = env::var("UNICORN_LOCAL") {
|
||||
Path::new("..").join("..")
|
||||
} else {
|
||||
println!("cargo:warning=Unicorn not found. Downloading...");
|
||||
|
Reference in New Issue
Block a user