Skip to content

Commit

Permalink
tasks.json: added clang-tidy to test tasks and renamed to ensure Run …
Browse files Browse the repository at this point in the history
…QEMU is the first in the list
  • Loading branch information
martinbond7 committed Jun 19, 2024
1 parent 07b14e8 commit 5da7db7
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,30 @@
"problemMatcher": []
},
{
"label": "Run QEMU",
"label": "Run: QEMU",
"dependsOn": "Build",
"type": "shell",
"command": "${workspaceFolder}/run-qemu.sh",
"args": [
"${workspaceFolder}/build/debug/Application.elf"
],
"group": {
"kind": "test",
"isDefault": true
},
"group": "test",
"problemMatcher": []
},
{
"label": "Run QEMU nographic",
"label": "Run: QEMU nographic",
"dependsOn": "Build",
"type": "shell",
"command": "${workspaceFolder}/run-qemu.sh",
"args": [
"--nographic",
"${workspaceFolder}/build/debug/Application.elf"
],
"group": {
"kind": "test",
"isDefault": true
},
"group": "test",
"problemMatcher": []
},
{
"label": "Run QEMU serial",
"label": "Run: QEMU serial",
"dependsOn": "Build",
"type": "shell",
"command": "${workspaceFolder}/run-qemu.sh",
Expand All @@ -71,7 +65,7 @@
"problemMatcher": []
},
{
"label": "Run QEMU serial nographic",
"label": "Run: QEMU serial nographic",
"dependsOn": "Build",
"type": "shell",
"command": "${workspaceFolder}/run-qemu.sh",
Expand All @@ -83,6 +77,17 @@
"group": "test",
"problemMatcher": []
},
{
"label": "Test: clang-tidy",
"dependsOn": "Build",
"type": "shell",
"command": "${workspaceFolder}/build.sh",
"args": [
"clang-tidy"
],
"group": "test",
"problemMatcher": []
},
{
"label": "Launch QEMU gdb",
"dependsOn": "Build",
Expand Down Expand Up @@ -174,3 +179,4 @@
},
]
}

0 comments on commit 5da7db7

Please sign in to comment.