mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Re-run the geckolib build script if components/style/properties changes.
This commit is contained in:
parent
7787b21e30
commit
ff5478cba9
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue