h-gtk: Add resources/ to the cargo check list.

This commit is contained in:
Jordan Petridis 2018-06-11 14:23:29 +03:00
parent 2060579bb4
commit bbabc6f5e9
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -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")