summaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: b2b5882599311393929405f419c1d5c295a808bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  // 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": [
            "D44J01", // GCN JPN Kiosk Demo
            "GZLJ01", // GCN JPN
            "GZLE01", // GCN USA
            "GZLP01", // GCN PAL
            "D44J01 --debug --map --non-matching",
        ],
        "default": "GZLE01",
        "description": "Game version to build."
    },
  ],
  "tasks": [
    {
      "label": "ninja",
      "type": "shell",
      "command": "ninja",
      "group": {
        "kind": "build",
        "isDefault": true
      }
    },
    {
      "label": "configure",
      "type": "shell",
      "command": "${command:python.interpreterPath} configure.py --version ${input:gameVersion}",
      "problemMatcher": [],
    },
    {
      "label": "ninja changes_all",
      "type": "shell",
      "command": "ninja changes_all",
      "problemMatcher": [],
    },
  ]
}