Inside builder's setup subcommand, Inform developers to set CLANG_FORMAT_DIFF path manually.

This commit is contained in:
Pouya Abbassi 2021-06-30 14:52:09 +04:30
parent 2831bce899
commit f7e7acdee0
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 591DF1A6C74C0CBC
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ case "$command" in
pushd ./scripts || return
./git-pre-commit-format install
popd || return
echo "=== Manual action required ==="
echo "Set this environment variable. (clang-format-diff.py is located inside llvm's source directory)."
echo 'export CLANG_FORMAT_DIFF="python3 /path/to/llvm/saurce/llvm-project/clang/tools/clang-format/clang-format-diff.py"'
;;
"build")
clean