summaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: 174667e017ec45c60253fe81689f3f6592625015 (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
{
    "version": "2.0.0",
    "type": "shell",
    "windows": {
        "options": {
            "shell": {
                "executable": "C:\\Windows\\System32\\cmd.exe",
                "args": [
                    "/c"
                ]
            }
        }
    },
    "options": {
        "cwd": "${workspaceFolder}"
    },
    "tasks": [
        {
            "type": "shell",
            "label": "PreCompile",
            "windows": {
                "command": "chcp 65001 && msvc_build.bat"
            },
            "linux": {
                "command": "ninja -f ninja/linux.ninja"
            },
            "osx": {
                "command": "ninja -f ninja/macos.ninja"
            },
            "options": {
                "cwd": "${workspaceFolder}/3rd/luamake"
            },
        },
        {
            "type": "shell",
            "label": "Compile",
            "command": "chcp 65001 && ${workspaceFolder}/3rd/luamake/luamake rebuild"
        },
    ]
}