123456789101112131415161718192021222324 |
- @echo off
- set /a startsek=(%time:~0,2%*60*60)+(%time:~3,2%*60)+%time:~6,2%
- call init.bat
- if exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" (
- echo Visual Studio found at "%InstallDir%"
- ) else (
- echo Error: No Visual Studio found.
- )
- cd "Allgemein"
- call build.bat
- cd "../Spiele Platform/Klient"
- call build.bat
- cd ../SMP
- call build.bat
- cd ../Spiele/Klient
- call build.bat
- set /a endsek=(%time:~0,2%*60*60)+(%time:~3,2%*60)+%time:~6,2%
- set /a timemins=(%endsek%-%startsek%)/60
- set /a timeseks=((%endsek%-%startsek%)-(%timemins%*60))
- echo Minuten: %timemins% --- Sekunden: %timeseks%
|