Skip to content

Commit 47027d3

Browse files
bors[bot]ttencate
andauthored
Merge #193
193: Rerun codegen if GODOT4_BIN changed r=Bromeon a=ttencate Brought up by `@Garmelon` on #118. Co-authored-by: Thomas ten Cate <[email protected]>
2 parents cccf247 + 273a906 commit 47027d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

godot-codegen/src/godot_exe.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,5 @@ fn locate_godot_binary() -> PathBuf {
127127

128128
fn rerun_on_changed(path: &Path) {
129129
println!("cargo:rerun-if-changed={}", path.display());
130+
println!("cargo:rerun-if-env-changed=GODOT4_BIN");
130131
}

0 commit comments

Comments
 (0)