chore: Add one more criteria for rerun build.rs to check .git/refs/heads
This commit is contained in:
parent
65e1ccffaf
commit
90079a974a
1 changed files with 1 additions and 0 deletions
1
build.rs
1
build.rs
|
|
@ -2,5 +2,6 @@ use shadow_rs::SdResult;
|
|||
|
||||
fn main() -> SdResult<()> {
|
||||
println!("cargo:rerun-if-changed=.git/HEAD");
|
||||
println!("cargo:rerun-if-changed=.git/refs/heads");
|
||||
shadow_rs::new()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue