Skip to content

Commit

Permalink
fix(turborepo): Rebuild turbo if Go code has changed (#5530)
Browse files Browse the repository at this point in the history
Co-authored-by: Greg Soltis <Greg Soltis>
  • Loading branch information
Greg Soltis authored Jul 14, 2023
1 parent b6bb8fe commit b0ea0a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/turborepo/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::{env, fs, path::PathBuf, process::Command};

fn main() {
println!("cargo:rerun-if-changed=../../cli");
let profile = env::var("PROFILE").unwrap();
let is_ci_release =
&profile == "release" && matches!(env::var("RELEASE_TURBO_CLI"), Ok(v) if v == "true");
Expand Down

0 comments on commit b0ea0a8

Please sign in to comment.