Revert "Deprecates RUN_THIS.py in favor of manually doin' it (#3930)" (#3933)

This reverts commit 94082e07a7.
This commit is contained in:
Paul Ritter
2021-05-05 14:30:46 +02:00
committed by GitHub
parent 94082e07a7
commit ce67371b12
7 changed files with 175 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
gitroot=`git rev-parse --show-toplevel`
cd "$gitroot/BuildChecker"
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

5
BuildChecker/hooks/post-merge Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
# Just call post-checkout since it does the same thing.
gitroot=`git rev-parse --show-toplevel`
bash "$gitroot/.git/hooks/post-checkout"