mirror of
https://github.com/redlib-org/redlib.git
synced 2025-03-31 19:57:36 +03:00
Only rerun build script if src/ changes
This commit is contained in:
parent
9850109326
commit
4461a7d172
1 changed files with 1 additions and 0 deletions
1
build.rs
1
build.rs
|
@ -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"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue