Files
bioz-host-rs/.vscode/tasks.json

59 lines
1.6 KiB
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",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"run",
// "--release",
],
"group": {
"kind": "build",
// "isDefault": true
}
},
{
"label": "cargo run release",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"run",
"--release",
],
"group": {
"kind": "build",
// "isDefault": true
}
},
{
"label": "Terminate All Tasks",
"command": "echo ${input:terminate}",
"type": "shell",
"problemMatcher": []
},
{
"label": "delay",
"command": "sleep 0.01", // Delay for 0.01 seconds to discover the process
"type": "shell",
"problemMatcher": []
},
{
"label": "cargo rerun",
"dependsOn": ["Terminate All Tasks", "delay", "cargo run"],
"dependsOrder": "sequence",
"group": "build",
}
],
"inputs": [
{
"id": "terminate",
"type": "command",
"command": "workbench.action.tasks.terminate",
"args": "terminateAll"
}
]
}