spot/.vscode/tasks.json
Théo Barnouin 15cf412840
Some checks are pending
spot-quality / ci-check (push) Waiting to run
spot-quality / shellcheck (push) Waiting to run
first commit
2024-11-13 16:41:51 +01:00

51 lines
No EOL
1.3 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"options": {
"env": {
"RUST_BACKTRACE": "1",
"RUST_LOG": "spot=debug",
"LANG": "C",
//"https_proxy": "localhost:8080"
}
},
"tasks": [
{
"label": "meson",
"type": "shell",
"command": "meson setup target -Dbuildtype=debug -Doffline=false --prefix=\"$HOME/.local\""
},
{
"label": "build",
"type": "shell",
"command": "ninja install -C target",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"clear": true
}
},
{
"label": "run",
"type": "shell",
"command": "$HOME/.local/bin/spot",
"presentation": {
"reveal": "always",
"clear": true
}
},
{
"label": "test",
"type": "shell",
"command": "meson test -C target --verbose",
"group": {
"kind": "test",
"isDefault": true
}
}
]
}