Files
bottom/scripts/hooks/pre-push
T
Clement Tsang 2c25ea9363 other: remove cargo husky dev dependency (#1937)
I honestly forgot I was using this. This change just removes the
automated hook creation, the hook file still exists if anyone wants to
reference/use it in `scripts/hooks/pre-push`.
2025-12-27 23:56:03 -05:00

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