spiegel-keyman/docs/settings/linux/tasks.json
2021-07-23 10:16:14 +02:00

133 lines
3.2 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "core: build",
"command": "${workspaceFolder}/common/core/desktop/build.sh",
"args": [
"--debug"
],
"options": {
"cwd": "${workspaceFolder}/common/core/desktop"
},
"problemMatcher": [
{
"owner": "cpp",
"source": "compiler",
"fileLocation": [
"relative",
"${workspaceFolder}/common/core/desktop/"
],
"pattern": [
{
"regexp": "^../../../(.*):(\\d+):(\\d+):\\s+(warning|error|note):\\s+(.*)(\\s+\\[.*\\])?$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
},
{
"owner": "cpp",
"source": "linker",
"fileLocation": "absolute",
"pattern": [
{
"regexp": "^(/usr/bin/ld:\\s+)?(.*):(\\d+):\\s+(.*)$",
"file": 2,
"location": 3,
"message": 4
}
]
},
{
"base": "$rustc",
"source": "rust compiler",
"fileLocation": "absolute"
}
],
"group": "build",
"detail": "build common/core/desktop"
},
{
"type": "shell",
"label": "core: build Rust",
"command": "${workspaceFolder}/common/core/desktop/build.sh",
"args": [
"--debug",
"build-rust"
],
"options": {
"cwd": "${workspaceFolder}/common/core/desktop"
},
"problemMatcher": [
{
"base": "$rustc",
"fileLocation": "absolute"
}
],
"group": "build",
"detail": "Rust build of common/core/desktop"
},
{
"type": "shell",
"label": "core: test",
"command": "${workspaceFolder}/common/core/desktop/build.sh",
"args": [
"--debug",
"tests"
],
"problemMatcher": [
"$gcc"
],
"group": "test",
"detail": "run tests for common/core/desktop"
},
{
"type": "shell",
"label": "ibus-keyman: configure",
"command": "./configure",
"args": [
"CPPFLAGS=\"-DG_MESSAGES_DEBUG -I${workspaceFolder}/common/core/desktop/build/arch/debug/include/ -I${workspaceFolder}/common/core/desktop/include/\"",
"CFLAGS=\"-g -O0\"",
"CXXFLAGS=\"-g -O0\""
],
"options": {
"cwd": "${workspaceFolder}/linux/ibus-keyman"
},
"problemMatcher": [
{
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/linux/ibus-keyman/src/"
],
}
],
"group": "build",
"detail": "configure ibus-keyman"
},
{
"type": "shell",
"label": "ibus-keyman: build",
"command": "make",
"options": {
"cwd": "${workspaceFolder}/linux/ibus-keyman",
},
"problemMatcher": [
{
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/linux/ibus-keyman/src/"
],
}
],
"group": "build",
"detail": "build ibus-keyman"
},
]
}