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

93 lines
2.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 cli",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"run",
"--bin",
"main_cli",
// "--release",
],
"group": {
"kind": "build",
// "isDefault": true
}
},
{
"label": "cargo run cli release",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"run",
"--bin",
"main_cli",
"--release",
],
"group": {
"kind": "build",
// "isDefault": true
}
},
{
"label": "cargo run gui",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"run",
"--bin",
"main_gui",
// "--release",
],
"group": {
"kind": "build",
// "isDefault": true
}
},
{
"label": "cargo run gui release",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"run",
"--bin",
"main_gui",
"--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"
}
]
}