Applecorn/hooks_pre-commit
2023-01-16 18:45:11 -05:00

16 lines
285 B
Bash
Executable File

#!/bin/bash
# Pre-commit hook for Applecorn
f="auxmem.vers.s"
V=`git describe`
echo '* Auto-generated by .git/hooks/pre-commit' > $f
echo "HELLO ASC 'Applecorn $V'" >> $f
echo " DB \$00" >> $f
if ! ./m32build; then
exit 1
fi