Added a VSCode task to run the utility

This commit is contained in:
penev92
2022-04-26 18:08:56 +03:00
committed by atlimit8
parent 9a30d260a1
commit 6eb4fe8980

23
.vscode/tasks.json vendored
View File

@@ -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"
},
]
}