summaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: 8bb1b196ee17246017fbd738701fef5d0e1f832a (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
{
    "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": "tools\\ninja -f ninja\\msvc.ninja"
            },
            "linux": {
                "command": "ninja -f ninja/linux.ninja"
            },
            "osx": {
                "command": "ninja -f ninja/macos.ninja"
            },
            "options": {
                "cwd": "${workspaceFolder}/3rd/luamake"
            },
        },
        {
            "type": "shell",
            "label": "Compile",
            "command": "${workspaceFolder}/3rd/luamake/luamake rebuild"
        },
        {
            "label": "Install",
            "command": "${workspaceFolder}/build/lua",
            "args": [
                "make/copy.lua",
                "${command:extensionPath}"
            ]
        }
    ]
}