Dev env update

This commit is contained in:
Edward R. Gonzalez 2022-07-12 04:23:21 -04:00
parent 5e3fd7a13c
commit 2b982bda84
7 changed files with 18 additions and 48 deletions

View File

@ -1,46 +0,0 @@
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
)
git clone --recurse-submodules https://github.com/Ed94/LangStudies
cd LangStudies
pause
start build_engine.release.bat
timeout 10
start build_engine.release_debug.bat
:tools_wait
timeout 1
if not exist Engine\gd\bin\godot.windows.tools.64.exe (
goto :tools_wait
)
timeout 10
start Engine\gd\bin\godot.windows.tools.64.exe -e Editor/project.godot
timeout 30
taskkill /f /im godot.windows.tools.64.exe
:opt_wait
timeout 1
if not exist Engine\gd\bin\godot.windows.opt.64.exe (
goto :opt_wait
)
start /w build_project.bat

10
build_engine.bat Normal file
View File

@ -0,0 +1,10 @@
start build_engine.debug.bat
timeout 10
start build_engine.release_debug.bat
timeout 10
start build_engine.release.bat
timeout 10

View File

@ -6,7 +6,7 @@ if %HH% lss 10 (set CUR_HH=0%time:~1,1%)
set NN=%time:~3,2% set NN=%time:~3,2%
set SS=%time:~6,2% set SS=%time:~6,2%
set MS=%time:~9,2% set MS=%time:~9,2%
set SUBFILENAME=%YYYY%%MM%%DD%-%HH%%NN%%SS% set SUBFILENAME=%YYYY%%MM%%DD%_%HH%%NN%%SS%
cd Builds cd Builds
mkdir %SUBFILENAME% mkdir %SUBFILENAME%

View File

@ -1,3 +1,3 @@
start Engine\gd\bin\godot.windows.tools.64.exe -e Editor/project.godot start Engine\gd\bin\godot.windows.opt.tools.64.exe -e Editor/project.godot

3
game.release.bat Normal file
View File

@ -0,0 +1,3 @@
start Engine\gd\bin\godot.windows.opt.64.exe --path Editor/

3
game.release_debug.bat Normal file
View File

@ -0,0 +1,3 @@
start Engine\gd\bin\godot.windows.opt.tools.64.exe --path Editor/