mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
292 lines
7.5 KiB
JSON
292 lines
7.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "core: clean",
|
|
"command": "${workspaceFolder}/core/build.sh",
|
|
"args": [
|
|
"--debug",
|
|
"clean"
|
|
],
|
|
"group": "build",
|
|
"detail": "clean core"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "core: configure",
|
|
"command": "${workspaceFolder}/core/build.sh",
|
|
"args": [
|
|
"--debug",
|
|
"--no-tests",
|
|
"configure:arch"
|
|
],
|
|
"presentation": {
|
|
"clear": true
|
|
},
|
|
"group": "build",
|
|
"detail": "configure core"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "core: build",
|
|
"command": "${workspaceFolder}/core/build.sh",
|
|
"args": [
|
|
"--debug",
|
|
"--no-tests",
|
|
"build:arch"
|
|
],
|
|
"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",
|
|
"test:arch"
|
|
],
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": "test",
|
|
"detail": "run tests for core"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "ibus-keyman: clean",
|
|
"command": "./build.sh",
|
|
"args": ["clean", "--debug"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/ibus-keyman"
|
|
},
|
|
"group": "build",
|
|
"detail": "clean ibus-keyman"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "ibus-keyman: configure",
|
|
"command": "./build.sh",
|
|
"args": ["configure", "--debug"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/ibus-keyman",
|
|
"env": {
|
|
"CPPFLAGS": "-DG_MESSAGES_DEBUG -I${workspaceFolder}/core/build/arch/debug/include/ -I${workspaceFolder}/core/include/ -I/home/eberhard/Develop/keyman/ibus/ibus/src -I${workspaceFolder}/common/include",
|
|
"CFLAGS": "-g -O0",
|
|
"CXXFLAGS": "-g -O0",
|
|
"KEYMAN_PROC_LIBS": "-L${workspaceFolder}/core/build/arch/debug/src -lkmnkbp0",
|
|
"KEYMAN_PROC_CFLAGS": "-I${workspaceFolder}/core/build/arch/debug/include -I${workspaceFolder}/core/include -I${workspaceFolder}/common/include",
|
|
"PKG_CONFIG_PATH": "${workspaceFolder}/core/build/arch/debug/meson-private"
|
|
},
|
|
},
|
|
"dependsOn":["ibus-keyman: clean"],
|
|
"group": "build",
|
|
"detail": "configure ibus-keyman"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "ibus-keyman: build",
|
|
"command": "./build.sh",
|
|
"args": [ "build", "--debug" ],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/ibus-keyman/",
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"base": "$gcc",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}/linux/build/x86_64/release"
|
|
],
|
|
}
|
|
],
|
|
"group": "build",
|
|
"detail": "build ibus-keyman"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "ibus-keyman: unit tests",
|
|
"command": "./build.sh",
|
|
"args": [
|
|
"test",
|
|
"--debug",
|
|
"--no-integration"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/ibus-keyman/",
|
|
},
|
|
"group": "build",
|
|
"detail": "run unit tests of ibus-keyman"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "ibus-keyman: test (unit+integration)",
|
|
"command": "./build.sh",
|
|
"args": [
|
|
"test",
|
|
"--debug"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/ibus-keyman/",
|
|
},
|
|
"group": "build",
|
|
"detail": "run unit and integration tests of ibus-keyman"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "ibus-keyman: report",
|
|
"command": "./build.sh",
|
|
"args": [
|
|
"test",
|
|
"--report",
|
|
"--debug",
|
|
"--coverage",
|
|
"--no-integration"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/ibus-keyman/",
|
|
},
|
|
"group": "build",
|
|
"detail": "run tests and create unit test coverage report"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "keyman-config: tests",
|
|
"command": "${workspaceFolder}/linux/keyman-config/run-tests.sh",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/keyman-config",
|
|
},
|
|
"group": "test",
|
|
"detail": "unit test keyman-config"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "keyman-system-service: clean",
|
|
"command": "${workspaceFolder}/linux/keyman-system-service/build.sh",
|
|
"args": [
|
|
"--debug",
|
|
"clean"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/keyman-system-service"
|
|
},
|
|
"group": "build",
|
|
"detail": "clean keyman-system-service"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "keyman-system-service: build",
|
|
"command": "${workspaceFolder}/linux/keyman-system-service/build.sh",
|
|
"args": [
|
|
"--debug",
|
|
"build"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/keyman-system-service"
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "cpp",
|
|
"source": "compiler",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}/linux/keyman-system-service/"
|
|
],
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"presentation": {
|
|
"clear": true
|
|
},
|
|
"group": "build",
|
|
"detail": "build keyman-system-service"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "keyman-system-service: configure",
|
|
"command": "${workspaceFolder}/linux/keyman-system-service/build.sh",
|
|
"args": [
|
|
"--debug",
|
|
"configure"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/keyman-system-service",
|
|
},
|
|
"presentation": {
|
|
"clear": true
|
|
},
|
|
"group": "build",
|
|
"detail": "configure keyman-system-service"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "keyman-system-service: test",
|
|
"command": "${workspaceFolder}/linux/keyman-system-service/build.sh",
|
|
"args": [
|
|
"--debug",
|
|
"test:arch"
|
|
],
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": "test",
|
|
"detail": "run tests for keyman-system-service"
|
|
},
|
|
]
|
|
}
|