1
0
Fork 0
forked from wry/wry

autocommit 2022-03-22 23:24:17 CET

This commit is contained in:
Julian Orth 2022-03-22 23:24:17 +01:00
parent 18806a38fb
commit 2ff60ff817
36 changed files with 4934 additions and 237 deletions

View file

@ -747,7 +747,13 @@ pub fn main() -> Result<()> {
println!("cargo:rerun-if-changed=wire-dbus");
let mut f = open("wire_dbus.rs")?;
for (_, child) in collect_interfaces()?.children {
let mut children: Vec<_> = collect_interfaces()?
.children
.into_iter()
.map(|v| v.1)
.collect();
children.sort_by(|c1, c2| c1.name.cmp(&c2.name));
for child in children {
write_element(&mut f, child, "")?;
}
Ok(())