mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-07 13:23:27 -04:00
Add a VSCode task to quickly switch which game version is configured
This commit is contained in:
Vendored
+20
@@ -2,6 +2,20 @@
|
||||
// Use Ctrl+Shift+B to run build tasks.
|
||||
// Or "Run Build Task" in the Command Palette.
|
||||
"version": "2.0.0",
|
||||
"inputs": [
|
||||
{
|
||||
"id": "gameVersion",
|
||||
"type": "pickString",
|
||||
"options": [
|
||||
"GZLJ01",
|
||||
"GZLE01",
|
||||
"GZLP01",
|
||||
"GZLJ01 --debug",
|
||||
],
|
||||
"default": "GZLE01",
|
||||
"description": "Game version to build."
|
||||
},
|
||||
],
|
||||
"tasks": [
|
||||
{
|
||||
"label": "ninja",
|
||||
@@ -12,5 +26,11 @@
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "configure",
|
||||
"type": "shell",
|
||||
"command": "python configure.py --version ${input:gameVersion}",
|
||||
"problemMatcher": [],
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user