feat: Added lua definition files

Also added a pre-commit hook to ensure that the definitions files are
up-to-date.
This commit is contained in:
2025-10-15 04:02:33 +02:00
parent df64804b00
commit 6fc3783d7a
8 changed files with 424 additions and 1 deletions

View File

@@ -22,11 +22,11 @@ fn main() -> std::io::Result<()> {
file.write_all(b"-- DO NOT MODIFY, FILE IS AUTOMATICALLY GENERATED\n")?;
file.write_all(definitions.as_bytes())?;
file.write_all(b"\n")?;
} else {
warn!(name = module.get_name(), "No definitions");
}
}
Ok(())
// automation_devices::generate_definitions()
}