0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-23 15:50:11 -05:00

fix: double rebuild when running ui tests (#338)

This commit is contained in:
Ryan Dahl 2020-04-04 16:11:29 -04:00 committed by GitHub
parent 5a5bad9adf
commit 054f6daae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,10 +23,12 @@ fn main() {
.map(|s| s.starts_with("rls"))
.unwrap_or(false);
if env::var_os("V8_FROM_SOURCE").is_some() {
build_v8()
} else if !(is_trybuild || is_cargo_doc | is_rls) {
download_static_lib_binaries();
if !(is_trybuild || is_cargo_doc | is_rls) {
if env::var_os("V8_FROM_SOURCE").is_some() {
build_v8()
} else {
download_static_lib_binaries();
}
}
if !(is_cargo_doc || is_rls) {