mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
[MIRROR] Add LOWMEMORYMODE versions of all the build/run tasks (#26887)
* Add `LOWMEMORYMODE` versions of all the build/run tasks (#81906) ## About The Pull Request This simply adds versions of the build/run vscode tasks that add `-DLOWMEMORYMODE` when calling the build script, which compiles the server with the `LOWMEMORYMODE` define, for faster testing of features.  --------- Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com> * Add `LOWMEMORYMODE` versions of all the build/run tasks --------- Co-authored-by: Lucy <lucy@absolucy.moe> Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>
This commit is contained in:
27
.vscode/launch.json
vendored
27
.vscode/launch.json
vendored
@@ -8,6 +8,13 @@
|
||||
"preLaunchTask": "Build All",
|
||||
"dmb": "${workspaceFolder}/${command:CurrentDMB}"
|
||||
},
|
||||
{
|
||||
"type": "byond",
|
||||
"request": "launch",
|
||||
"name": "Launch DreamSeeker (low memory mode)",
|
||||
"preLaunchTask": "Build All (low memory mode)",
|
||||
"dmb": "${workspaceFolder}/${command:CurrentDMB}"
|
||||
},
|
||||
{
|
||||
"type": "byond",
|
||||
"request": "launch",
|
||||
@@ -16,6 +23,14 @@
|
||||
"dmb": "${workspaceFolder}/${command:CurrentDMB}",
|
||||
"dreamDaemon": true
|
||||
},
|
||||
{
|
||||
"type": "byond",
|
||||
"request": "launch",
|
||||
"name": "Launch DreamDaemon (low memory mode)",
|
||||
"preLaunchTask": "Build All (low memory mode)",
|
||||
"dmb": "${workspaceFolder}/${command:CurrentDMB}",
|
||||
"dreamDaemon": true
|
||||
},
|
||||
{
|
||||
"name": "Debug External Libraries",
|
||||
"type": "cppvsdbg",
|
||||
@@ -27,6 +42,18 @@
|
||||
"-trusted"
|
||||
],
|
||||
"preLaunchTask": "Build All"
|
||||
},
|
||||
{
|
||||
"name": "Debug External Libraries (low memory mode)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${command:dreammaker.returnDreamDaemonPath}",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"args": [
|
||||
"${command:dreammaker.getFilenameDmb}",
|
||||
"-trusted"
|
||||
],
|
||||
"preLaunchTask": "Build All (low memory mode)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
24
.vscode/tasks.json
vendored
24
.vscode/tasks.json
vendored
@@ -24,6 +24,30 @@
|
||||
"dependsOn": "dm: reparse",
|
||||
"label": "Build All"
|
||||
},
|
||||
{
|
||||
"type": "process",
|
||||
"command": "tools/build/build",
|
||||
"args": ["-DLOWMEMORYMODE"],
|
||||
"windows": {
|
||||
"command": ".\\tools\\build\\build.bat",
|
||||
"args": ["-DLOWMEMORYMODE"]
|
||||
},
|
||||
"options": {
|
||||
"env": {
|
||||
"DM_EXE": "${config:dreammaker.byondPath}"
|
||||
}
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$dreammaker",
|
||||
"$tsc",
|
||||
"$eslint-stylish"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build"
|
||||
},
|
||||
"dependsOn": "dm: reparse",
|
||||
"label": "Build All (low memory mode)"
|
||||
},
|
||||
{
|
||||
"type": "dreammaker",
|
||||
"dme": "tgstation.dme",
|
||||
|
||||
Reference in New Issue
Block a user