mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-07 10:16:24 +02:00
Compare commits
3 commits
a0610fd11f
...
4f16c1e6de
Author | SHA1 | Date | |
---|---|---|---|
|
4f16c1e6de | ||
|
22927091a1 | ||
|
9eb1d098bd |
1 changed files with 6 additions and 6 deletions
|
@ -79,12 +79,12 @@ fn main() {
|
||||||
|
|
||||||
// --- Rerun Triggers ---
|
// --- Rerun Triggers ---
|
||||||
// TODO: The git rerun triggers seem to always run
|
// TODO: The git rerun triggers seem to always run
|
||||||
// // Rerun if the git HEAD changes
|
// Rerun if the git HEAD changes
|
||||||
// println!("cargo:rerun-if-changed=.git/HEAD");
|
println!("cargo:rerun-if-changed=.git/HEAD");
|
||||||
// // Rerun if the ref pointed to by HEAD changes (e.g., new commit on branch)
|
// Rerun if the ref pointed to by HEAD changes (e.g., new commit on branch)
|
||||||
// if let Some(ref_path) = run_git_command(&["symbolic-ref", "--quiet", "HEAD"])
|
if let Some(ref_path) = run_git_command(&["symbolic-ref", "--quiet", "HEAD"]) {
|
||||||
// { println!("cargo:rerun-if-changed=.git/{ref_path}");
|
println!("cargo:rerun-if-changed=.git/{ref_path}");
|
||||||
// }
|
}
|
||||||
|
|
||||||
println!("cargo:rerun-if-env-changed=GIT_COMMIT_HASH");
|
println!("cargo:rerun-if-env-changed=GIT_COMMIT_HASH");
|
||||||
println!("cargo:rerun-if-env-changed=GIT_COMMIT_HASH_SHORT");
|
println!("cargo:rerun-if-env-changed=GIT_COMMIT_HASH_SHORT");
|
||||||
|
|
Loading…
Add table
Reference in a new issue