vscode: add cargo tasks

This commit is contained in:
Torrie Fischer 2024-12-13 00:46:09 +01:00
parent b20c562b27
commit b468eb8533

29
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,29 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "build",
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "build",
"isDefault": true
},
"label": "rust: cargo build"
},
{
"type": "cargo",
"command": "espflash flash --no-stub --monitor",
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "build",
"isDefault": false
},
"label": "rust: cargo espflash"
}
]
}