mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
* core/build.sh -- accept feature-ldml changes (remove call to get_builder_OS) * developer/src/kmlmc/build.sh -- delete file * linux/debian/rules -- accept master changes, fixup call to core/build.sh * linux/ibus-keyman/tests/Makefile.am -- accept master changes, fixup call to core/build.sh * linux/scripts/build.sh -- accept master changes, fixup call to core/build.sh * linux/scripts/reconf.sh -- accept master changes
203 lines
5.3 KiB
JSON
203 lines
5.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "core: build",
|
|
"command": "${workspaceFolder}/core/build.sh",
|
|
"args": [
|
|
"configure:arch",
|
|
"build:arch",
|
|
"--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: configure",
|
|
"command": "${workspaceFolder}/core/build.sh",
|
|
"args": [ "--debug", "configure",
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/core",
|
|
},
|
|
"presentation": {
|
|
"clear": true
|
|
},
|
|
"group": "build",
|
|
"detail": "configure core"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "core: configure+build",
|
|
"command": "${workspaceFolder}/core/build.sh",
|
|
"args": [
|
|
"--debug", "configure", "build", "tests"
|
|
],
|
|
"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
|
|
}
|
|
]
|
|
},
|
|
],
|
|
"presentation": {
|
|
"clear": true
|
|
},
|
|
"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: test",
|
|
"command": "./build.sh",
|
|
"args": ["test", "--debug"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/ibus-keyman/",
|
|
},
|
|
"group": "build",
|
|
"detail": "run tests of ibus-keyman"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
]
|
|
}
|