Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2019-06-05 16:30:45 +0300
committerRay Molenkamp <github@lazydodo.com>2019-06-05 16:30:45 +0300
commitfb4ec706cdf8d56c8b18f43100c5a6ae7fcdb607 (patch)
tree91c8dae3bec0468a9ed6e7276b148d2929c9e418 /build_files/windows/format.cmd
parent328f7e13653b7521fed5b92a630d9d9e7be2ce2a (diff)
make.bat: Support optional paths for `make format`
make.bat now supports optional parameters to restrict the formatting to a specific folder. Multiple paths may be given example: make.bat format source/blender/blenkernel source/blender/gpu
Diffstat (limited to 'build_files/windows/format.cmd')
-rw-r--r--build_files/windows/format.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/windows/format.cmd b/build_files/windows/format.cmd
index 04610944e16..9dd6f1fc83b 100644
--- a/build_files/windows/format.cmd
+++ b/build_files/windows/format.cmd
@@ -20,6 +20,6 @@ set FORMAT_PATHS=%BLENDER_DIR%\source\tools\utils_maintenance\clang_format_paths
REM The formatting script expects clang-format to be in the current PATH.
set PATH=%CF_PATH%;%PATH%
-%PYTHON% %FORMAT_PATHS%
+%PYTHON% %FORMAT_PATHS% %FORMAT_ARGS%
:EOF