build.bat 607 B

12345678910111213141516171819202122
  1. @echo off
  2. set /a timerstart=((1%time:~0,2%-100)*60*60)+((1%time:~3,2%-100)*60)+(1%time:~6,2%-100)
  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 "../Apps"
  12. call build.bat
  13. cd "../Spiele Platform"
  14. call build.bat
  15. set /a timerstop=((1%time:~0,2%-100)*60*60)+((1%time:~3,2%-100)*60)+(1%time:~6,2%-100)
  16. set /a timeseks=(%timerstop%-%timerstart%)
  17. set /a timemins=(%timerstop%-%timerstart%)/60
  18. echo Sekunden: %timeseks% -- Minuten: %timemins%