{ // 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 } } ] }