diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-03-26 21:24:02 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-03-26 21:24:02 +0000 |
| commit | 2c7288d46b3727a23cbe485818bb39a95bc4caad (patch) | |
| tree | b9b1dfb8baa7980c461f631dfe6d0267595496fd /BuildTools | |
| parent | Updated clang-format to the latest release (diff) | |
| download | DiligentCore-2c7288d46b3727a23cbe485818bb39a95bc4caad.tar.gz DiligentCore-2c7288d46b3727a23cbe485818bb39a95bc4caad.zip | |
Enabled format validation on MacOS
Diffstat (limited to 'BuildTools')
| -rwxr-xr-x | BuildTools/FormatValidation/clang-format_10.0.0 | bin | 0 -> 2349840 bytes | |||
| -rwxr-xr-x | BuildTools/FormatValidation/validate_format_mac.sh | 13 |
2 files changed, 6 insertions, 7 deletions
diff --git a/BuildTools/FormatValidation/clang-format_10.0.0 b/BuildTools/FormatValidation/clang-format_10.0.0 Binary files differnew file mode 100755 index 00000000..cf170123 --- /dev/null +++ b/BuildTools/FormatValidation/clang-format_10.0.0 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/* |
