rust-nex/buildscripts/pre-commit

14 lines
179 B
Text
Raw Normal View History

2026-04-26 15:09:03 +02:00
#!/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