| { |
| "version": "2.0.0", |
| "tasks": [ |
| { |
| "label": "Main Build", |
| "type": "shell", |
| "command": "scripts/build/default.sh", |
| "group": { |
| "kind": "build", |
| "isDefault": true |
| }, |
| "dependsOn": "Bootstrap", |
| "isBackground": false, |
| "presentation": { |
| "reveal": "always", |
| "panel": "shared" |
| }, |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Auto-enforce coding style", |
| "type": "shell", |
| "command": "scripts/helpers/auto_enforce_code_style.sh", |
| "group": "none", |
| "dependsOn": "Bootstrap", |
| "isBackground": false, |
| "presentation": { |
| "reveal": "always", |
| "panel": "shared" |
| }, |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Verify coding style conformance", |
| "type": "shell", |
| "command": "scripts/helpers/code_style_check.sh", |
| "group": "none", |
| "dependsOn": "Bootstrap", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Run Unit and Functional Tests", |
| "type": "shell", |
| "command": "scripts/tests/all_tests.sh", |
| "group": "none", |
| "dependsOn": "Bootstrap", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Run Distribution Generation", |
| "type": "shell", |
| "command": "scripts/build/distribution_check.sh", |
| "group": "none", |
| "dependsOn": "Bootstrap", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Run Code Coverage", |
| "type": "shell", |
| "command": "scripts/tools/codecoverage.sh; code -r build/default/src/chip.info/index.html", |
| "group": "none", |
| "dependsOn": "Bootstrap", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Clean", |
| "type": "shell", |
| "command": "scripts/helpers/clean.sh", |
| "group": "none", |
| "dependsOn": "Bootstrap", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Bootstrap", |
| "type": "shell", |
| "command": "scripts/build/bootstrap.sh", |
| "group": "none", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Clean Tree", |
| "type": "shell", |
| "command": "scripts/helpers/clean_tree.sh", |
| "group": "none", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Run Setup Payload Tests", |
| "type": "shell", |
| "command": "scripts/tests/setup_payload_tests.sh", |
| "group": "none", |
| "dependsOn": "Bootstrap", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Build QRCode Payload Tests", |
| "type": "shell", |
| "command": "scripts/tests/qrcode_payload_tests.sh", |
| "group": "none", |
| "dependsOn": "Bootstrap", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Build & Run Crypto Tests", |
| "type": "shell", |
| "command": "scripts/tests/crypt_tests.sh", |
| "group": "none", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Build nRF5 Lock App", |
| "type": "shell", |
| "command": "scripts/examples/nrf_lock_app.sh", |
| "group": "none", |
| "dependsOn": "Clean Tree", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Build openSSL crypto Tests", |
| "type": "shell", |
| "command": "scripts/tests/openssl_tests.sh", |
| "group": "none", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Build ESP32 Echo Example", |
| "type": "shell", |
| "command": "scripts/examples/esp_echo_app.sh", |
| "group": "none", |
| "dependsOn": "Clean Tree", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| }, |
| { |
| "label": "Build Standalone Echo Client", |
| "type": "shell", |
| "command": "scripts/examples/standalone_echo_client.sh", |
| "group": "none", |
| "dependsOn": "Clean Tree", |
| "problemMatcher": [ |
| "$gcc" |
| ] |
| } |
| ] |
| } |