| { |
| // See https://go.microsoft.com/fwlink/?LinkId=733558 |
| // for the documentation about the tasks.json format |
| "version": "2.0.0", |
| "tasks": [ |
| { |
| "label": "Clean", |
| "type": "shell", |
| "command": "bazelisk clean", |
| "options": { |
| "cwd": "${workspaceFolder:pw_zephyr_bazel}/examples/${config:example}" |
| } |
| }, |
| { |
| "label": "Build local", |
| "type": "shell", |
| "command": "bazelisk build :${config:target} --platforms=:${config:platform} --sandbox_debug --verbose_failures -s --override_module=pigweed=${workspaceFolder:pigweed} --override_repository=pigweed++_repo_rules+zephyr_toolchain=${userHome}/bin/zephyr-sdk-0.17.0", |
| "options": { |
| "cwd": "${workspaceFolder:pw_zephyr_bazel}/examples/${config:example}" |
| }, |
| "dependsOn": [ |
| "Clean" |
| ], |
| "presentation": { |
| "echo": true, |
| "reveal": "always", |
| "focus": false, |
| "panel": "shared", |
| "showReuseMessage": true, |
| "clear": false |
| }, |
| "problemMatcher": [] |
| }, |
| { |
| "label": "Build", |
| "type": "shell", |
| "command": "bazelisk build :${config:target} --platforms=:${config:platform} --sandbox_debug --verbose_failures -s", |
| "options": { |
| "cwd": "${workspaceFolder:pw_zephyr_bazel}/examples/${config:example}" |
| }, |
| "dependsOn": [ |
| "Clean" |
| ], |
| "presentation": { |
| "echo": true, |
| "reveal": "always", |
| "focus": false, |
| "panel": "shared", |
| "showReuseMessage": true, |
| "clear": false |
| }, |
| "problemMatcher": [] |
| } |
| ] |
| } |