Improved build.py

This commit is contained in:
2025-06-11 19:10:14 -04:00
parent 5a81b2d8ae
commit 893c0acf93
2 changed files with 15 additions and 27 deletions

View File

@@ -59,40 +59,26 @@
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "build.py c++",
"tasks": {
"for-each" : [
{ "CMD" : "python3 build.py c++", "DEFAULT":true },
{ "CMD" : "python3 build.py all", "DEFAULT":false },
{ "CMD" : "python3 build.py clean", "DEFAULT":false }
],
"body" : {
"label": "[CMD]",
"group": {
"kind": "build",
"isDefault": true
"isDefault": "[DEFAULT]"
},
"command": "python3 build.py c++",
"presentation": {
"clear": true
},
"problemMatcher": "$msCompile",
"type": "shell"
},
{
"label": "build.py all",
"command": "python3 build.py all",
"presentation": {
"clear": true
},
"problemMatcher": "$msCompile",
"type": "shell"
},
{
"label": "build.py clean",
"group": "build",
"command": "python3 build.py clean",
"command": "[CMD]",
"presentation": {
"clear": true
},
"problemMatcher": "$msCompile",
"type": "shell"
}
]
}
},
"launch": {
"version": "0.2.0",
@@ -105,7 +91,7 @@
"name": "Server=[SERVER]",
"request": "launch",
"program": "[UNREALENGINE]/Engine/Binaries/Linux/UnrealEditor-Linux-DebugGame",
"preLaunchTask": "Make All",
"preLaunchTask": "python3 build.py c++",
"args": [
"[INTEGRATION]/Integration.uproject",
"-userdir=User/[USER]",