Skip to content

Commit 63c110c

Browse files
committed
Add tracked pre-commit hook
1 parent 166b505 commit 63c110c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.githooks/pre-commit

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
cargo fmt -- --check
5+
cargo clippy -- -D warnings
6+
cargo test --verbose

0 commit comments

Comments
 (0)