diff --git a/hooks_pre-commit b/hooks_pre-commit new file mode 100755 index 0000000..b41d25a --- /dev/null +++ b/hooks_pre-commit @@ -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 + +