Skip to content

Commit

Permalink
rebuild on revision change
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalkuthe committed Apr 13, 2023
1 parent bff7fc8 commit 95635c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helix-loader/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fn main() {
std::env::var("TARGET").unwrap()
);

println!("cargo:rerun-if-changed=../.git/HEAD");
println!("cargo:rerun-if-changed=../VERSION");
println!("cargo:rustc-env=VERSION_AND_GIT_HASH={}", version);
}

0 comments on commit 95635c6

Please sign in to comment.