yams/.zed/tasks.json
2025-09-27 21:41:48 -04:00

46 lines
1.3 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "meson: build",
"type": "shell",
"command": "meson compile -C ${command:meson.buildDirectory}",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "meson: test",
"type": "shell",
"command": "meson test -C ${command:meson.buildDirectory} --print-errorlogs",
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "conan: install (Debug)",
"type": "shell",
"command": "conan install . -of build/debug -s build_type=Debug -b missing"
},
{
"label": "conan: install (Release)",
"type": "shell",
"command": "conan install . -of build/release -s build_type=Release -b missing"
},
{
"label": "meson: setup (Debug)",
"type": "shell",
"command": "meson setup build/debug --reconfigure --prefix /usr/local --native-file build/debug/build-debug/conan/conan_meson_native.ini",
"problemMatcher": [
"$meson-gcc"
]
},
{
"label": "meson: setup (Release)",
"type": "shell",
"command": "meson setup build/release --reconfigure --prefix /usr/local --native-file build/release/build-release/conan/conan_meson_native.ini"
}
]
}