Skip to content

Commit

Permalink
chore: Make build.rs run again on git change
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpinder committed Sep 23, 2024
1 parent 741ec81 commit 65e1ccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use shadow_rs::SdResult;

fn main() -> SdResult<()> {
println!("cargo:rerun-if-changed=.git/HEAD");
shadow_rs::new()
}
1 change: 1 addition & 0 deletions utils/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ fn main() {
PathBuf::from(env::var("OUT_DIR").unwrap()).join("docker_syntax.bin"),
)
.unwrap();
println!("cargo:rerun-if-changed=highlights/Dockerfile.sublime-syntax");
}

0 comments on commit 65e1ccf

Please sign in to comment.