Files
astronomy/generate/commit_hook

8 lines
183 B
Plaintext
Executable File

#/bin/bash
[[ -d generate ]] && cd generate
rm -f output/vsop*.txt output/*.eph output/jupiter_moons.txt
./run || exit $?
./verify_clean || exit $?
echo "commit_hook: SUCCESS"
exit 0