expeditaet
Version:
Advent of Code Solutions
70 lines (68 loc) • 1.3 kB
JSON
{
// See https://go.microsoft.com/fwlink/? LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "cargo run current",
"type": "shell",
"command": "cargo",
"options": {
"cwd": "${fileDirname}"
},
"args": ["run"],
"group": "none"
},
{
"label": "cargo build",
"type": "shell",
"command": "cargo",
"options": {
"cwd": "${workspaceFolder}/solutions/rust/"
},
"args": ["build"],
"group": "build"
},
{
"type": "shell",
"label": "cargo run",
"command": "wsl",
"args": ["--", "~/.cargo/bin/cargo", "run"],
"problemMatcher": ["$rustc"],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "shell",
"label": "link descriptions",
"command": "./scripts/link-descriptions.sh",
"problemMatcher": []
},
{
"type": "shell",
"label": "pipenv",
"command": "pipenv shell",
"isBackground": false,
"options": {},
"problemMatcher": [
{
"applyTo": "openDocuments",
"pattern": [
{
"regexp": "^Spawning.*$",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"beginsPattern": "^.*$",
"endsPattern": "^Spawning.*$"
}
}
]
}
]
}