Merge pull request #224 from lj3954/fix_compile_date

fix: Recheck date whenever code is modified
This commit is contained in:
Chris Titus 2024-09-04 16:42:42 -05:00 committed by GitHub
commit 8b394f3820
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,9 @@
fn main() {
// Rebuild program if any file in commands directory changes.
println!("cargo:rerun-if-changed=src/commands");
// Rerun build script if any code is modified
println!("cargo:rerun-if-changed=src");
// Add current date as a variable to be displayed in the 'Linux Toolbox' text.
println!(
"cargo:rustc-env=BUILD_DATE={}",