[Bf-blender-cvs] [fae2879ab1c] temp-clang-format: clang-format: use clang-format binary from lib directory on macOS.

Brecht Van Lommel noreply at git.blender.org
Thu Jan 10 13:54:06 CET 2019


Commit: fae2879ab1c0bed7f8258b94c4adebc826b767b3
Author: Brecht Van Lommel
Date:   Thu Jan 10 13:41:31 2019 +0100
Branches: temp-clang-format
https://developer.blender.org/rBfae2879ab1c0bed7f8258b94c4adebc826b767b3

clang-format: use clang-format binary from lib directory on macOS.

===================================================================

M	GNUmakefile

===================================================================

diff --git a/GNUmakefile b/GNUmakefile
index 85bd01911de..261dfaa63bf 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -463,7 +463,7 @@ update: .FORCE
 	git submodule foreach git pull --rebase origin master
 
 format: .FORCE
-	python3 clang-format-paths.py $(PATHS)
+	PATH="../lib/${OS_NCASE}/llvm/bin/:$(PATH)" python3 clang-format-paths.py $(PATHS)
 
 
 # -----------------------------------------------------------------------------



More information about the Bf-blender-cvs mailing list