diff options
-rw-r--r-- | ports/geckolib/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/geckolib/build.rs b/ports/geckolib/build.rs index e7bae9ee508..9bfe24f8277 100644 --- a/ports/geckolib/build.rs +++ b/ports/geckolib/build.rs @@ -41,6 +41,10 @@ fn main() { let geckolib_dir = Path::new(file!()).parent().unwrap(); let top_dir = geckolib_dir.join("..").join(".."); + let properties_dir = top_dir.join("components").join("style").join("properties"); + println!("cargo:rerun-if-changed={}", properties_dir.to_str().unwrap()); + println!("cargo:rerun-if-changed={}", geckolib_dir.join("properties.mako.rs").to_str().unwrap()); + let style_template = Path::new("components/style/properties/properties.mako.rs"); let geckolib_template = Path::new("ports/geckolib/properties.mako.rs"); let mako = Path::new("components/style/properties/Mako-0.9.1.zip"); |