h-gtk: Add resources/ to the cargo check list.
This commit is contained in:
parent
2060579bb4
commit
bbabc6f5e9
@ -1,6 +1,10 @@
|
|||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
|
|
||||||
fn main() {
|
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")
|
Command::new("glib-compile-resources")
|
||||||
.args(&["--generate", "resources.xml"])
|
.args(&["--generate", "resources.xml"])
|
||||||
.current_dir("resources")
|
.current_dir("resources")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user