embedded-trainings-2020/beginner/apps/.vscode/tasks.json
Jonathan Pallant (Ferrous Systems) edbf34cf00 Use a task file for the beginner apps.
Lets you set the DEFMT_LOG env variable more easily even with VS Code is auto-building the code.
2023-01-26 18:52:11 +00:00

27 lines
670 B
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build Rust (Debug)",
"type": "shell",
"command": "cargo build",
"options": {
"env": {
"DEFMT_LOG": "debug",
}
}
},
{
"label": "Build Rust (Warn)",
"type": "shell",
"command": "cargo build",
"options": {
"env": {
"DEFMT_LOG": "warn",
}
}
}
]
}