WireProto/.githooks/pre-commit/02-hexgen
brent saner c329fc916e
updating hooks
fix hex gen from relative invocation path
2024-07-07 23:58:42 -04:00

17 lines
230 B
Bash
Executable File

#!/bin/bash
subdir='docs/data'
datdir="${PWD}/${subdir}"
${datdir}/parse.py
for t in 'simple' 'multi';
do
for r in 'request' 'response';
do
git add ${subdir}/${r}.${t}.hex
done
done
echo "Regenerated hex representations"