Applecorn/hooks_pre-commit

16 lines
285 B
Plaintext
Raw Permalink Normal View History

#!/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