more rerun

This commit is contained in:
psykose 2024-11-05 09:39:27 +01:00
parent ab040e6af0
commit 4e434a7929

View file

@ -39,6 +39,7 @@ fn main() {
"resources/audrey.gresource.xml", "resources/audrey.gresource.xml",
"audrey.gresource", "audrey.gresource",
); );
println!("cargo::rerun-if-changed=resources/audrey.gresource.xml");
// TODO: consider using meson to pass include paths // TODO: consider using meson to pass include paths
println!("cargo::rustc-link-lib=mpv"); println!("cargo::rustc-link-lib=mpv");
@ -50,4 +51,5 @@ fn main() {
bindings bindings
.write_to_file(out_path.join("mpv_ffi.rs")) .write_to_file(out_path.join("mpv_ffi.rs"))
.expect("could not write mpv bindings"); .expect("could not write mpv bindings");
println!("cargo::rerun-if-changed=src/mpv/wrapper.h");
} }