LangStudies/Bootstrap_LangStudies.Windows.bat

47 lines
849 B
Batchfile
Raw Normal View History

2022-07-10 20:59:43 -07:00
where "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" >nul 2>nul
if not ERRORLEVEL 0 (
echo Visual Studio 2019 not found... Remove this error message if you do have it.
pause
exit
)
where scons >nul 2>nul
if not ERRORLEVEL 0 (
python pip install scons
)
2022-07-10 13:26:32 -07:00
git clone --recurse-submodules https://github.com/Ed94/LangStudies
cd LangStudies
pause
2022-07-10 13:26:32 -07:00
2022-07-10 20:59:43 -07:00
start build_engine.release.bat
2022-07-10 16:27:28 -07:00
timeout 10
2022-07-10 20:59:43 -07:00
start build_engine.release_debug.bat
2022-07-10 13:26:32 -07:00
2022-07-10 16:27:28 -07:00
:tools_wait
timeout 1
if not exist Engine\gd\bin\godot.windows.tools.64.exe (
goto :tools_wait
)
timeout 10
2022-07-10 13:26:32 -07:00
start Engine\gd\bin\godot.windows.tools.64.exe -e Editor/project.godot
2022-07-10 16:27:28 -07:00
timeout 30
2022-07-10 13:26:32 -07:00
2022-07-10 16:27:28 -07:00
taskkill /f /im godot.windows.tools.64.exe
2022-07-10 13:26:32 -07:00
2022-07-10 16:27:28 -07:00
:opt_wait
timeout 1
if not exist Engine\gd\bin\godot.windows.opt.64.exe (
goto :opt_wait
)
2022-07-10 13:26:32 -07:00
start /w build_project.bat