mirror of
https://github.com/edera-dev/krata.git
synced 2026-11-04 13:22:20 +00:00
introduce lefthook support to check commits
This commit is contained in:
3 files changed
+16
-2
No files matched your search
@@ -0,0 +1,14 @@
|
||||
[pre-commit]
|
||||
parallel = true
|
||||
|
||||
[pre-commit.commands.build]
|
||||
run = "cargo build --target x86_64-unknown-linux-gnu"
|
||||
|
||||
[pre-commit.commands.test]
|
||||
run = "cargo test --target x86_64-unknown-linux-gnu"
|
||||
|
||||
[pre-commit.commands.fmt]
|
||||
run = "cargo fmt --all -- --check"
|
||||
|
||||
[pre-commit.commands.clippy]
|
||||
run = "cargo clippy --target x86_64-unknown-linux-gnu"
|
||||
Reference in new issue
Block a user