From f7e7acdee05b0209e9e57d2c9fe3ece47b5749fc Mon Sep 17 00:00:00 2001 From: Pouya Abbassi Date: Wed, 30 Jun 2021 14:52:09 +0430 Subject: [PATCH] Inside builder's setup subcommand, Inform developers to set CLANG_FORMAT_DIFF path manually. --- builder | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builder b/builder index b283330..678664f 100755 --- a/builder +++ b/builder @@ -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