bottom/.cargo-husky/hooks/pre-push

11 lines
221 B
Bash
Executable file

#!/bin/sh
set -e
echo "Running pre-push hook:"
echo "Executing: cargo clippy --all-targets --workspace -- -D warnings"
cargo clippy --all-targets --workspace -- -D warnings
# echo "Executing: cargo test"
# cargo test