RECORDANDRONCO/.vscode/tasks.json
penev92 7c17829b96 Added VSCode configuration
- OpenRA PR 18280 - "Add support for Visual Studio Code. " and its follow-ups 18786, 18954, 19026, 19379, 19785, 19787, 19933, 20003.
 - Added launch profile for the Utility and a VSCode task to run it - OpenRA PR 20009.
2023-01-15 21:44:53 +01:00

38 lines
762 B
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "make",
"args": ["all", "CONFIGURATION=Debug"],
"windows": {
"command": "make.cmd"
}
},
{
"label": "Run Utility",
"command": "dotnet ${workspaceRoot}/engine/bin/OpenRA.Utility.dll ${input:modId} ${input:command}",
"type": "shell",
"options": {
"env": {
"ENGINE_DIR": "${workspaceRoot}/engine",
"MOD_SEARCH_PATHS": "${workspaceRoot}/mods,${workspaceRoot}/engine/mods"
}
}
}
],
"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"
},
]
}