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

14 lines
199 B
Bash
Executable File

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