Files
astronomy/generate/verify_clean
Don Cross 033a2a1b53 pydown: Split classes into regular classes, enums, and errors.
Will generate different Markdown for my regular classes,
enumerated types, and error types.

Found out that 'from enum import IntEnum' pulls IntEnum
into the astronomy module and causes us to try to generate
documentation for it. Just keep it in the enum module.

Removed spurious dump of JavaScript README.md when verify_clean
fails.
2019-07-10 21:57:07 -04:00

12 lines
245 B
Bash
Executable File

#!/bin/bash
if [[ ! -z "$(git status --porcelain)" ]]; then
echo "verify_clean: There are local file changes - build is not clean:"
git status
echo ""
echo "Diff output:"
git diff
exit 1
fi
echo "verify_clean: OK"
exit 0