spiegel-keyman/docs/settings/linux/tasks.json

108 lines
2.5 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "core: build",
"command": "${workspaceFolder}/core/build.sh",
"args": [
"--debug"
],
"options": {
"cwd": "${workspaceFolder}/core"
},
"problemMatcher": [
{
"owner": "cpp",
"source": "compiler",
"fileLocation": [
"relative",
"${workspaceFolder}/core/"
],
"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
}
]
}
],
"group": "build",
"detail": "build core"
},
{
"type": "shell",
"label": "core: test",
"command": "${workspaceFolder}/core/build.sh",
"args": [
"--debug",
"tests"
],
"problemMatcher": [
"$gcc"
],
"group": "test",
"detail": "run tests for core"
},
{
"type": "shell",
"label": "ibus-keyman: configure",
"command": "./configure",
"args": [
"CPPFLAGS=\"-DG_MESSAGES_DEBUG -I${workspaceFolder}/core/build/arch/debug/include/ -I${workspaceFolder}/core/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"
},
]
}