From 85bd14236a1248f862bbd2444c515f963d780da8 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Thu, 21 Oct 2021 21:44:14 +0200 Subject: [PATCH] fix(modulo): remove rerun-if-changed directives that caused cargo to recompile modulo each time --- espanso-modulo/build.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/espanso-modulo/build.rs b/espanso-modulo/build.rs index 31646ca..86bc21d 100644 --- a/espanso-modulo/build.rs +++ b/espanso-modulo/build.rs @@ -457,22 +457,5 @@ fn build_native() { } fn main() { - println!("cargo:rerun-if-changed=src/x11/native/native.h"); - println!("cargo:rerun-if-changed=src/sys/interop/interop.h"); - println!("cargo:rerun-if-changed=src/sys/form/form.cpp"); - println!("cargo:rerun-if-changed=src/sys/common/mac.h"); - println!("cargo:rerun-if-changed=src/sys/common/mac.mm"); - println!("cargo:rerun-if-changed=src/sys/common/common.h"); - println!("cargo:rerun-if-changed=src/sys/common/common.cpp"); - println!("cargo:rerun-if-changed=src/sys/welcome/welcome_gui.h"); - println!("cargo:rerun-if-changed=src/sys/welcome/welcome_gui.cpp"); - println!("cargo:rerun-if-changed=src/sys/welcome/welcome.cpp"); - println!("cargo:rerun-if-changed=src/sys/troubleshooting/troubleshooting_gui.h"); - println!("cargo:rerun-if-changed=src/sys/troubleshooting/troubleshooting_gui.cpp"); - println!("cargo:rerun-if-changed=src/sys/troubleshooting/troubleshooting.cpp"); - println!("cargo:rerun-if-changed=src/sys/search/search.cpp"); - println!("cargo:rerun-if-changed=src/sys/wizard/wizard.cpp"); - println!("cargo:rerun-if-changed=src/sys/wizard/wizard_gui.cpp"); - println!("cargo:rerun-if-changed=src/sys/wizard/wizard_gui.h"); build_native(); }