Better dev env

This commit is contained in:
Edward R. Gonzalez 2022-07-09 04:30:41 -04:00
parent f3e12c91b4
commit 9139914e40
17 changed files with 47 additions and 7 deletions

View File

@ -282,7 +282,11 @@ func test(entry):
var introMessageFormatted = introMessage.format({"Name" : entry.Name}) var introMessageFormatted = introMessage.format({"Name" : entry.Name})
print(introMessageFormatted) print(introMessageFormatted)
var path = "res://Tests/{TestName}" var path
if Engine.editor_hint() :
path = "res://Tests/{TestName}"
else :
path = "res://../Builds/Tests/{TestName}"
var pathFormatted = path.format({"TestName" : entry.File}) var pathFormatted = path.format({"TestName" : entry.File})
var \ var \

View File

@ -348,7 +348,11 @@ func test(entry):
var introMessageFormatted = introMessage.format({"Name" : entry.Name}) var introMessageFormatted = introMessage.format({"Name" : entry.Name})
tout(introMessageFormatted) tout(introMessageFormatted)
var path = "res://Tests/{TestName}" var path
if Engine.editor_hint :
path = "res://../Tests/{TestName}"
else :
path = "res://../Builds/Tests/{TestName}"
var pathFormatted = path.format({"TestName" : entry.File}) var pathFormatted = path.format({"TestName" : entry.File})
var \ var \

View File

@ -357,7 +357,11 @@ func test(entry):
var introMessageFormatted = introMessage.format({"Name" : entry.Name}) var introMessageFormatted = introMessage.format({"Name" : entry.Name})
tout(introMessageFormatted) tout(introMessageFormatted)
var path = "res://Tests/{TestName}" var path
if Engine.editor_hint :
path = "res://../Tests/{TestName}"
else :
path = "res://../Builds/Tests/{TestName}"
var pathFormatted = path.format({"TestName" : entry.File}) var pathFormatted = path.format({"TestName" : entry.File})
var \ var \

View File

@ -30,4 +30,9 @@ common/enable_pause_aware_picking=true
[rendering] [rendering]
quality/intended_usage/framebuffer_allocation=0
quality/intended_usage/framebuffer_allocation.mobile=0
quality/shadows/filter_mode=2
quality/shadows/filter_mode.mobile=2
quality/filters/msaa=1
environment/default_environment="res://default_env.tres" environment/default_environment="res://default_env.tres"

BIN
RDP_Class_cover_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 KiB

View File

@ -1 +1,7 @@
# Language Studies # Language Studies
A set of material done while following [Dmitry Soshnikov's](https://t.co/UL7NQyykPu) courses
Currently I'm in the process of completing
![Building a parser from scratch](https://i.imgur.com/rEzWwGs.png)

View File

@ -1,5 +1,3 @@
cd Engine\gd\ cd Engine\gd\
scons -j%NUMBER_OF_PROCESSORS% platform=windows scons -j%NUMBER_OF_PROCESSORS% platform=windows
exit

2
build_engine.release.bat Normal file
View File

@ -0,0 +1,2 @@
cd Engine\gd\
scons -j%NUMBER_OF_PROCESSORS% platform=windows tools=no target=release bits=64

14
build_project.bat Normal file
View File

@ -0,0 +1,14 @@
set CUR_YYYY=%date:~10,4%
set CUR_MM=%date:~4,2%
set CUR_DD=%date:~7,2%
set CUR_HH=%time:~0,2%
if %CUR_HH% lss 10 (set CUR_HH=0%time:~1,1%)
set CUR_NN=%time:~3,2%
set CUR_SS=%time:~6,2%
set CUR_MS=%time:~9,2%
set SUBFILENAME=%CUR_YYYY%%CUR_MM%%CUR_DD%-%CUR_HH%%CUR_NN%%CUR_SS%
cd Builds
mkdir %SUBFILENAME%
cd ..\Editor
start ..\Engine\gd\bin\godot.windows.opt.64.exe --export "Windows Desktop" "..\Builds\%SUBFILENAME%\LangStudies.exe"

3
debug.bat Normal file
View File

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