From 78ec4b937d6b17772e2861f136b740dada43f441 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Mon, 1 Jan 2024 21:01:25 -0500 Subject: [PATCH] adds vscode launch options for building in testing and low memory mode --- .vscode/launch.json | 38 ++++++++++++++++++++++++++++++++++ .vscode/tasks.json | 50 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 543058728f..e01beb7171 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,6 +7,44 @@ "name": "Launch DreamSeeker", "preLaunchTask": "Build All", "dmb": "${workspaceFolder}/${command:CurrentDMB}" + }, + { + "type": "byond", + "request": "launch", + "name": "Launch DreamDaemon", + "preLaunchTask": "Build All", + "dmb": "${workspaceFolder}/${command:CurrentDMB}", + "dreamDaemon": true + }, + { + "type": "byond", + "request": "launch", + "name": "Launch DreamSeeker (TESTING)", + "preLaunchTask": "Build All (TESTING)", + "dmb": "${workspaceFolder}/${command:CurrentDMB}" + }, + { + "type": "byond", + "request": "launch", + "name": "Launch DreamDaemon (TESTING)", + "preLaunchTask": "Build All (TESTING)", + "dmb": "${workspaceFolder}/${command:CurrentDMB}", + "dreamDaemon": true + }, + { + "type": "byond", + "request": "launch", + "name": "Launch DreamSeeker (LOWMEMORYMODE)", + "preLaunchTask": "Build All (LOWMEMORYMODE)", + "dmb": "${workspaceFolder}/${command:CurrentDMB}" + }, + { + "type": "byond", + "request": "launch", + "name": "Launch DreamDaemon (LOWMEMORYMODE)", + "preLaunchTask": "Build All (LOWMEMORYMODE)", + "dmb": "${workspaceFolder}/${command:CurrentDMB}", + "dreamDaemon": true } ] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b7d12f0527..155c69ee99 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -24,6 +24,56 @@ "dependsOn": "dm: reparse", "label": "Build All" }, + { + "type": "process", + "command": "tools/build/build", + "windows": { + "command": ".\\tools\\build\\build.bat" + }, + "options": { + "env": { + "DM_EXE": "${config:dreammaker.byondPath}" + } + }, + "problemMatcher": [ + "$dreammaker", + "$tsc", + "$eslint-stylish" + ], + "group": { + "kind": "build" + }, + "dependsOn": "dm: reparse", + "args": [ + "-DTESTING" + ], + "label": "Build All (TESTING)" + }, + { + "type": "process", + "command": "tools/build/build", + "windows": { + "command": ".\\tools\\build\\build.bat" + }, + "options": { + "env": { + "DM_EXE": "${config:dreammaker.byondPath}" + } + }, + "problemMatcher": [ + "$dreammaker", + "$tsc", + "$eslint-stylish" + ], + "group": { + "kind": "build" + }, + "dependsOn": "dm: reparse", + "args": [ + "-DLOWMEMORYMODE" + ], + "label": "Build All (LOWMEMORYMODE)" + }, { "type": "dreammaker", "dme": "tgstation.dme",