From bfe1bfc0bd5a3e2f04de47279135c766efca0cbb Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 5 Jul 2023 11:45:22 -0700 Subject: [PATCH] build.rs tweaks --- payment-contracts/build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/payment-contracts/build.rs b/payment-contracts/build.rs index 31b876bc..03fa194a 100644 --- a/payment-contracts/build.rs +++ b/payment-contracts/build.rs @@ -3,6 +3,8 @@ use glob::glob; fn main() { // Tell Cargo that if the given file changes, to rerun this build script. + println!("cargo:rerun-if-changed=build.rs"); + println!("cargo:rerun-if-changed=Cargo.toml"); glob("./abi/*.json").unwrap().for_each(|x| { if let Ok(x) = x { println!("cargo:rerun-if-changed={}", x.display());