diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-06-05 16:30:45 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-06-05 16:30:45 +0300 |
commit | fb4ec706cdf8d56c8b18f43100c5a6ae7fcdb607 (patch) | |
tree | 91c8dae3bec0468a9ed6e7276b148d2929c9e418 /build_files/windows/parse_arguments.cmd | |
parent | 328f7e13653b7521fed5b92a630d9d9e7be2ce2a (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/parse_arguments.cmd')
-rw-r--r-- | build_files/windows/parse_arguments.cmd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/windows/parse_arguments.cmd b/build_files/windows/parse_arguments.cmd index 0f87f8787c4..8c8b473dbcf 100644 --- a/build_files/windows/parse_arguments.cmd +++ b/build_files/windows/parse_arguments.cmd @@ -93,6 +93,8 @@ if NOT "%1" == "" ( set VERBOSE=1 ) else if "%1" == "format" ( set FORMAT=1 + set FORMAT_ARGS=%2 %3 %4 %5 %6 %7 %8 %9 + goto EOF ) else ( echo Command "%1" unknown, aborting! exit /b 1 |