aboutsummaryrefslogtreecommitdiff
path: root/PxShared/buildtools/clang-format/clang-format-p4.bat
diff options
context:
space:
mode:
Diffstat (limited to 'PxShared/buildtools/clang-format/clang-format-p4.bat')
-rw-r--r--PxShared/buildtools/clang-format/clang-format-p4.bat24
1 files changed, 0 insertions, 24 deletions
diff --git a/PxShared/buildtools/clang-format/clang-format-p4.bat b/PxShared/buildtools/clang-format/clang-format-p4.bat
deleted file mode 100644
index 0b246e3..0000000
--- a/PxShared/buildtools/clang-format/clang-format-p4.bat
+++ /dev/null
@@ -1,24 +0,0 @@
-@echo off
-setlocal
-
-set BLAST_PATH=..\..
-
-if "%*"=="" (
- echo Usage: format-change.bat ^<p4 changelist #^>
- exit /b
-)
-
-set change=%~1
-for /F %%d IN (directories.txt) do (
- call :format %BLAST_PATH%\%%d
-)
-
-exit /b
-
-:format
-for /F "delims=#" %%a in ('p4 opened -c %change% %~f1\....h, %~f1\....cpp, %~f1\....cu, %~f1\....hlsl 2^> NUL') do (
- for /F "tokens=3" %%f IN ('p4 where %%a') do (
- echo %%f
- clang-format.exe -i %%f
- )
-)