Check in pre-commit hook so we don't lose it

This commit is contained in:
Bobbi Webber-Manners 2023-01-16 18:45:11 -05:00
parent 822dc3edba
commit f51d4c2689
1 changed files with 15 additions and 0 deletions

15
hooks_pre-commit Executable file
View File

@ -0,0 +1,15 @@
#!/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