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:
@@ -87,6 +87,14 @@ repos:
|
||||
files: (\.rs|Cargo.lock)$
|
||||
pass_filenames: false
|
||||
|
||||
- id: generate_definitions
|
||||
name: generate definitions
|
||||
description: Generate lua definitions
|
||||
entry: cargo run --bin generate_definitions
|
||||
language: system
|
||||
types: [rust]
|
||||
pass_filenames: false
|
||||
|
||||
- repo: https://github.com/hadolint/hadolint
|
||||
rev: v2.13.1
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user