From 2c7288d46b3727a23cbe485818bb39a95bc4caad Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 26 Mar 2020 14:24:02 -0700 Subject: Enabled format validation on MacOS --- BuildTools/FormatValidation/clang-format_10.0.0 | Bin 0 -> 2349840 bytes BuildTools/FormatValidation/validate_format_mac.sh | 13 ++++++------- 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100755 BuildTools/FormatValidation/clang-format_10.0.0 (limited to 'BuildTools') diff --git a/BuildTools/FormatValidation/clang-format_10.0.0 b/BuildTools/FormatValidation/clang-format_10.0.0 new file mode 100755 index 00000000..cf170123 Binary files /dev/null and b/BuildTools/FormatValidation/clang-format_10.0.0 differ diff --git a/BuildTools/FormatValidation/validate_format_mac.sh b/BuildTools/FormatValidation/validate_format_mac.sh index 754d8fd1..cbb4cdf5 100755 --- a/BuildTools/FormatValidation/validate_format_mac.sh +++ b/BuildTools/FormatValidation/validate_format_mac.sh @@ -1,8 +1,7 @@ #!/bin/bash -#python clang-format-validate.py -r \ -# --exclude ../../Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions.h \ -# --exclude ../../Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions_inc.h \ -# --exclude ../../Graphics/GraphicsEngineVulkan/shaders/* \ -# ../../Common ../../Graphics ../../Platforms ../../Primitives -echo "Format validation is not yet enabled for DiligentCore module on MacOS" - +python clang-format-validate.py --clang-format-executable ./clang-format_10.0.0 \ +-r ../../Common ../../Graphics ../../Platforms ../../Primitives ../../Tests \ +--exclude ../../Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions.h \ +--exclude ../../Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions_inc.h \ +--exclude ../../Graphics/GraphicsEngineVulkan/shaders/GenerateMipsCS_inc.h \ +--exclude ../../Tests/DiligentCoreAPITest/assets/* -- cgit v1.2.3