diff --git a/.vscode/tasks.json b/.vscode/tasks.json index ba92c20f94..48d9033b0e 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,5 +1,10 @@ { "version": "2.0.0", + "options": { + "env": { + "ENGINE_DIR": ".." + } + }, "tasks": [ { "label": "build", @@ -8,6 +13,24 @@ "windows": { "command": "make.cmd" } + }, + { + "label": "Run Utility", + "command": "dotnet ${workspaceRoot}/bin/OpenRA.Utility.dll ${input:modId} ${input:command}", + "type": "shell", } + ], + "inputs": [ + { + "id": "modId", + "description": "ID of the mod to run", + "default": "all", + "type": "promptString" + }, { + "id": "command", + "description": "Name of the command + parameters", + "default": "", + "type": "promptString" + }, ] }