Skip to content

Commit 5f896c9

Browse files
committed
add pre-commit hook
1 parent f73573f commit 5f896c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.githooks/pre-commit

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
set -x
5+
6+
cargo check --all-features
7+
8+
exit 0

0 commit comments

Comments
 (0)