mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-04-09 11:37:14 +00:00
Check in pre-commit hook so we don't lose it
This commit is contained in:
parent
822dc3edba
commit
f51d4c2689
15
hooks_pre-commit
Executable file
15
hooks_pre-commit
Executable 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user