Skip to content

Commit 273a906

Browse files
committed
Rerun codegen if GODOT4_BIN changed
1 parent cccf247 commit 273a906

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)