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


