Delta-v/BuildChecker/hooks/post-checkout

14 lines
298 B
Bash
Executable File

#!/usr/bin/env bash
gitroot=$(git rev-parse --show-toplevel)
cd "$gitroot/BuildChecker" || exit
if [[ $(uname) == MINGW* || $(uname) == CYGWIN* ]]; then
# Windows
py -3 git_helper.py --quiet
else
# Not Windows, so probably some other Unix thing.
python3 git_helper.py --quiet
fi