Files
gman/.cargo-husky/hooks/pre-commit

14 lines
183 B
Bash
Executable File

#!/bin/sh
set -e
echo "Running pre-push hook:"
echo "Executing: cargo fmt"
cargo fmt
echo "Executing: make lint"
make lint
echo "Executing: cargo test"
cargo test -- --skip prop_