mirror of
https://github.com/Ed94/LangStudies.git
synced 2025-06-15 03:21:46 -07:00
Better dev env
This commit is contained in:
@ -282,7 +282,11 @@ func test(entry):
|
||||
var introMessageFormatted = introMessage.format({"Name" : entry.Name})
|
||||
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 \
|
||||
|
@ -348,7 +348,11 @@ func test(entry):
|
||||
var introMessageFormatted = introMessage.format({"Name" : entry.Name})
|
||||
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 \
|
||||
|
@ -357,7 +357,11 @@ func test(entry):
|
||||
var introMessageFormatted = introMessage.format({"Name" : entry.Name})
|
||||
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 \
|
||||
|
@ -1,8 +0,0 @@
|
||||
// Testing a comment
|
||||
"Hello World!";
|
||||
|
||||
/**
|
||||
*
|
||||
* Testing a comment
|
||||
*/
|
||||
42;
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
42;
|
||||
"Hello World!";
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
{
|
||||
42;
|
||||
{
|
||||
"Hello World!";
|
||||
}
|
||||
{
|
||||
;
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
// Binary expression
|
||||
2 + 2;
|
||||
|
||||
// Nested binary expressions:
|
||||
// left : 3 + 2
|
||||
// right : 2
|
||||
3 + 2 - 2;
|
@ -1,5 +0,0 @@
|
||||
// Single
|
||||
x = 42;
|
||||
|
||||
// Chained
|
||||
x = (y = 42);
|
@ -1,8 +0,0 @@
|
||||
if (x)
|
||||
{
|
||||
x = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
x = 2;
|
||||
}
|
@ -1 +0,0 @@
|
||||
x > 0;
|
@ -1,8 +0,0 @@
|
||||
// Declaration
|
||||
let x;
|
||||
|
||||
// Single assignment declaration
|
||||
let y = 42;
|
||||
|
||||
// Multiple declarations
|
||||
let a, b;
|
@ -30,4 +30,9 @@ common/enable_pause_aware_picking=true
|
||||
|
||||
[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"
|
||||
|
Reference in New Issue
Block a user