diff options
Diffstat (limited to 'bin/build-msvc.cmd')
-rw-r--r-- | bin/build-msvc.cmd | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/bin/build-msvc.cmd b/bin/build-msvc.cmd index 4adad019..4c3d90b4 100644 --- a/bin/build-msvc.cmd +++ b/bin/build-msvc.cmd @@ -1,26 +1,26 @@ -@setlocal ENABLEDELAYEDEXPANSION
-@echo off
-
-call msvc
-
-taskkill -f -im trackir.exe 2>%SystemDrive%\NUL
-
-call:check cmake .
-call:check ninja i18n
-call:check "d:/cygwin64/bin/dash.exe" -c "git checkout -f -- ../*/lang/ ../*/*/lang/"
-call:check ninja -j6 install
-call:check "d:/cygwin64/bin/dash.exe" -c "git checkout -f -- ../*/lang/ ../*/*/lang/"
-
-exit /b 0
-
-:check
-
-cmd /c "msvc d:/cygwin64/bin/nice.exe -n 20 -- %*"
-
-if %ERRORLEVEL% EQU 0 (
- GOTO:EOF
-)
-
-rem echo error %ERRORLEVEL%
-exit %ERRORLEVEL%
-
+@setlocal ENABLEDELAYEDEXPANSION +@echo off + +call msvc + +taskkill -f -im trackir.exe 2>%SystemDrive%\NUL + +call:check cmake . +call:check ninja i18n +call:check "d:/cygwin64/bin/dash.exe" -c "git checkout -f -- ../*/lang/ ../*/*/lang/" +call:check ninja -j6 install +call:check "d:/cygwin64/bin/dash.exe" -c "git checkout -f -- ../*/lang/ ../*/*/lang/" + +exit /b 0 + +:check + +cmd /c "msvc d:/cygwin64/bin/nice.exe -n 20 -- %*" + +if %ERRORLEVEL% EQU 0 ( + GOTO:EOF +) + +rem echo error %ERRORLEVEL% +exit %ERRORLEVEL% + |