blob: b7d75fede073bab67282796d2fcb4309a09f0c36 [file] [log] [blame]
{
"version": "2.0.0",
"tasks": [
{
"label": "Main Build",
"type": "shell",
"command": "scripts/build/default.sh",
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": {
"base": "$gcc",
"fileLocation": ["relative", "${workspaceFolder}/out/default/"]
}
},
{
"label": "Build & Test (all)",
"type": "shell",
"command": "./gn_build.sh",
"group": "build",
"isBackground": false,
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": {
"base": "$gcc",
"fileLocation": ["relative", "${workspaceFolder}/out/debug/"]
}
},
{
"label": "Update compilation database",
"type": "shell",
"command": "scripts/helpers/update_compile_commands.sh",
"group": "none",
"dependsOn": "Build & Test (all)",
"isBackground": false,
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": []
},
{
"label": "Run Unit and Functional Tests",
"type": "shell",
"command": "scripts/tests/all_tests.sh",
"group": "test",
"problemMatcher": {
"base": "$gcc",
"fileLocation": ["relative", "${workspaceFolder}/out/default/"]
}
},
{
"label": "Bootstrap",
"type": "shell",
"command": "bash scripts/bootstrap.sh",
"group": "none",
"problemMatcher": ["$gcc"]
},
{
"label": "Clean Output",
"type": "shell",
"command": "scripts/helpers/clean.sh",
"group": "none",
"problemMatcher": ["$gcc"]
},
{
"label": "Clean Tree",
"type": "shell",
"command": "scripts/helpers/clean_tree.sh",
"group": "none",
"problemMatcher": ["$gcc"]
},
{
"label": "Build Shell",
"type": "shell",
"command": "scripts/examples/gn_build_example.sh examples/shell out/shell",
"group": "build",
"problemMatcher": {
"base": "$gcc",
"fileLocation": ["relative", "${workspaceFolder}/out/shell/"]
}
},
{
"label": "Build Chip Tool",
"type": "shell",
"command": "scripts/examples/gn_build_example.sh examples/chip-tool out/chip_tool",
"group": "build",
"problemMatcher": {
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/out/chip_tool/"
]
}
},
{
"label": "Build Lighting App (Linux)",
"type": "shell",
"command": "scripts/examples/gn_build_example.sh examples/lighting-app/linux out/lighting-app",
"group": "build",
"problemMatcher": {
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/out/lighting-app/"
]
}
},
{
"label": "Build EFR32 Lock Example",
"type": "shell",
"command": "scripts/examples/gn_build_example.sh examples/lock-app/efr32 out/efr32_lock_app",
"group": "build",
"problemMatcher": {
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/out/efr32_lock_app/"
]
}
},
{
"label": "Build ESP32 all-clusters-app Example",
"type": "shell",
"command": "scripts/examples/build-all-clusters-app.py",
"group": "build",
"problemMatcher": ["$gcc"]
},
{
"label": "Build Android App",
"type": "shell",
"command": "TARGET_CPU=arm64 scripts/examples/android_app.sh",
"group": "build",
"problemMatcher": ["$gcc"]
},
{
"label": "Build nRF Connect Lock Example",
"type": "shell",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh lock-app",
"group": "build",
"problemMatcher": {
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/examples/lock-app/nrfconnect/build"
]
}
},
{
"label": "Build nRF Connect Lighting Example",
"type": "shell",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh lighting-app",
"group": "build",
"problemMatcher": {
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/examples/lighting-app/nrfconnect/build"
]
}
},
{
"label": "Build nRF Connect Shell Example",
"type": "shell",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh shell",
"group": "build",
"problemMatcher": {
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/examples/shell/nrfconnect/build"
]
}
},
{
"label": "Build nRF Connect Pigweed Example",
"type": "shell",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh pigweed-app",
"group": "build",
"problemMatcher": {
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/examples/pigweed-app/nrfconnect/build"
]
}
}
]
}