mirror of
https://github.com/hubaldv/bioz-host-rs.git
synced 2025-12-06 05:11:17 +00:00
Initial commit, copied examples from postcard-rpc repo.
This commit is contained in:
59
.vscode/tasks.json
vendored
Normal file
59
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
// 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user