mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-04-08 17:05:59 +02: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:
parent
de765fc364
commit
1190135d37
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user