mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-24 21:23:08 +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:
parent
de765fc364
commit
1190135d37
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue