From dc8d363325eca39bd2d9291dd7504cfd2f1217f3 Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Tue, 3 Sep 2024 16:02:24 -0700 Subject: [PATCH] fix: Recheck date whenever code is modified --- build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.rs b/build.rs index e6e6600f..ee7af066 100644 --- a/build.rs +++ b/build.rs @@ -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={}",