mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-29 15:40:19 +00:00
1190135d37
Just adds a cargo fmt check to the husky pre-push check.
14 lines
269 B
Bash
Executable file
14 lines
269 B
Bash
Executable file
#!/bin/sh
|
|
|
|
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
|
|
|
|
# echo "Executing: cargo test"
|
|
# cargo test
|