mirror of
https://github.com/ClementTsang/bottom.git
synced 2024-09-11 03:35:35 +03:00
12 lines
249 B
Bash
Executable File
12 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
echo "Running pre-push hook:"
|
|
|
|
echo "Executing: cargo fmt --all -- --check"
|
|
cargo fmt --all -- --check
|
|
|
|
echo "Executing: cargo clippy --all-targets --workspace -- -D warnings"
|
|
cargo clippy --all-targets --workspace -- -D warnings
|