Skip to content

Commit

Permalink
Add a VSCode task to quickly switch which game version is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
LagoLunatic committed Jan 18, 2025
1 parent 0d8abe2 commit c609b67
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -12,5 +26,11 @@
"isDefault": true
}
},
{
"label": "configure",
"type": "shell",
"command": "python configure.py --version ${input:gameVersion}",
"problemMatcher": [],
},
]
}

0 comments on commit c609b67

Please sign in to comment.