mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-05-03 21:40:32 +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:
@@ -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