rust-nex/buildscripts/pre-commit
red binder ebefd8f955
All checks were successful
Build and Test / splatoon (push) Successful in 3m12s
Build and Test / friends (push) Successful in 3m38s
add precommit hook
2026-04-26 15:09:03 +02:00

14 lines
179 B
Bash
Executable file

#!/bin/sh
echo "running cargo check..."
./check-all.sh
STATUS=$?
if [ $STATUS -ne 0 ]; then
echo "cargo check failed, aborting"
exit 1
fi
echo "cargo check passed"
exit 0