Skip to content

Commit

Permalink
Only rerun build script if src/ changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sigaloid committed Dec 28, 2023
1 parent 9850109 commit 4461a7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use std::os::unix::process::ExitStatusExt;
use std::os::windows::process::ExitStatusExt;

fn main() {
println!("cargo:rerun-if-changed=src/");
let output = String::from_utf8(
Command::new("git")
.args(["rev-parse", "HEAD"])
Expand Down

0 comments on commit 4461a7d

Please sign in to comment.