chore: add rust git hooks
This commit is contained in:
parent
d229a9b022
commit
e7ed71b1a1
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
cd "$(dirname "$0")/../rust" || exit 1
|
||||
cargo fmt --all -- --check
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
cd "$(dirname "$0")/../rust" || exit 1
|
||||
cargo clippy -- -D warnings
|
||||
Loading…
Reference in New Issue