From bbabc6f5e98deea9fa1dd659bdfcc4afc9ece639 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Mon, 11 Jun 2018 14:23:29 +0300 Subject: [PATCH] h-gtk: Add resources/ to the cargo check list. --- hammond-gtk/build.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hammond-gtk/build.rs b/hammond-gtk/build.rs index aab183d..71f34e1 100644 --- a/hammond-gtk/build.rs +++ b/hammond-gtk/build.rs @@ -1,6 +1,10 @@ use std::process::Command; fn main() { + // Rerun the build script when files in the resources folder are changed. + println!("cargo:rerun-if-changed=resources"); + println!("cargo:rerun-if-changed=resources/*"); + Command::new("glib-compile-resources") .args(&["--generate", "resources.xml"]) .current_dir("resources")