mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-11-15 18:33:20 +00:00
other: add fmt to husky hook (#731)
Just adds a cargo fmt check to the husky pre-push check.
This commit is contained in:
1 parent
de765fc364
commit
1190135d37
1 file changed
+3
@@ -4,6 +4,9 @@ set -e
|
||||
|
||||
echo "Running pre-push hook:"
|
||||
|
||||
echo "Checking fmt"
|
||||
cargo fmt --all -- --check
|
||||
|
||||
echo "Executing: cargo clippy --all-targets --workspace -- -D warnings"
|
||||
cargo clippy --all-targets --workspace -- -D warnings
|
||||
|
||||
|
||||
Reference in new issue
Block a user