build_client.bat 610 B

123456789101112131415161718192021222324
  1. @echo off
  2. set /a startsek=(%time:~0,2%*60*60)+(%time:~3,2%*60)+%time:~6,2%
  3. call init.bat
  4. if exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" (
  5. echo Visual Studio found at "%InstallDir%"
  6. ) else (
  7. echo Error: No Visual Studio found.
  8. )
  9. cd "Allgemein"
  10. call build.bat
  11. cd "../Spiele Platform/Klient"
  12. call build.bat
  13. cd ../SMP
  14. call build.bat
  15. cd ../Spiele/Klient
  16. call build.bat
  17. set /a endsek=(%time:~0,2%*60*60)+(%time:~3,2%*60)+%time:~6,2%
  18. set /a timemins=(%endsek%-%startsek%)/60
  19. set /a timeseks=((%endsek%-%startsek%)-(%timemins%*60))
  20. echo Minuten: %timemins% --- Sekunden: %timeseks%