Only rerun build script if src/ changes
This commit is contained in:
parent
9850109326
commit
4461a7d172
1
build.rs
1
build.rs
@ -7,6 +7,7 @@ use std::os::unix::process::ExitStatusExt;
|
|||||||
use std::os::windows::process::ExitStatusExt;
|
use std::os::windows::process::ExitStatusExt;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
println!("cargo:rerun-if-changed=src/");
|
||||||
let output = String::from_utf8(
|
let output = String::from_utf8(
|
||||||
Command::new("git")
|
Command::new("git")
|
||||||
.args(["rev-parse", "HEAD"])
|
.args(["rev-parse", "HEAD"])
|
||||||
|
Loading…
Reference in New Issue
Block a user