summaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: 0e26bc04554aa6fc9ce7cb258654d62793a6e0c4 (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
44
45
46
47
48
49
50
51
{
  // 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": [
            "GZ2E01",    // GCN USA
            "GZ2P01",    // GCN PAL
            "GZ2J01",    // GCN JPN
            "RZDE01_00", // Wii USA Rev 0
            "RZDE01_02", // Wii USA Rev 2
            "RZDP01",    // Wii PAL
            "RZDJ01",    // Wii JPN
            //"RZDK01",    // Wii KOR
            //"DZDE01",    // Wii USA Kiosk Demo
            //"DZDP01",    // Wii PAL Kiosk Demo
            "Shield",    // Shield
            //"ShieldP",   // Shield Production
            "ShieldD",   // Shield Debug
        ],
        "default": "GZ2E01",
        "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": [],
    },
  ]
}