Skip to content

Commit

Permalink
Groom vscode tasks (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Walker authored Apr 9, 2020
1 parent ca8e67d commit 0ac44c1
Showing 1 changed file with 34 additions and 18 deletions.
52 changes: 34 additions & 18 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
{
"label": "Main Build",
"type": "shell",
"command": "./bootstrap -w make && make -C build/default",
"command": "make -C build/default",
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn" : "Bootstrap",
"isBackground": false,
"presentation": {
"reveal": "always",
Expand All @@ -21,8 +22,9 @@
{
"label": "Auto-enforce coding style",
"type": "shell",
"command": "./bootstrap -w make && make -C build/default pretty",
"command": "make -C build/default pretty",
"group": "none",
"dependsOn" : "Bootstrap",
"isBackground": false,
"presentation": {
"reveal": "always",
Expand All @@ -35,59 +37,73 @@
{
"label": "Verify coding style conformance",
"type": "shell",
"command": "./bootstrap -w make && make -C build/default pretty-check",
"command": "make -C build/default pretty-check",
"group": "none",
"dependsOn" : "Bootstrap",
"problemMatcher": [
"$gcc"
]
},
{
"label": "Run Unit and Functional Tests",
"type": "shell",
"command": "./bootstrap -w make && make -C build/default check",
"command": "make -C build/default check",
"group": "none",
"dependsOn" : "Bootstrap",
"problemMatcher": [
"$gcc"
]
},
{
"label": "Run Distribution Generation",
"type": "shell",
"command": "./bootstrap -w make && make -C build/default distcheck",
"command": "make -C build/default distcheck",
"group": "none",
"dependsOn" : "Bootstrap",
"problemMatcher": [
"$gcc"
]
},
{
"label": "Run Code Coverage",
"type": "shell",
"command": "./bootstrap -w make && make -C build/default coverage",
"command": "make -C build/default coverage; code -r build/default/src/chip.info/index.html",
"group": "none",
"dependsOn" : "Bootstrap",
"problemMatcher": [
"$gcc"
]
},
{
"label": "Clean build",
"label": "Clean",
"type": "shell",
"command": "./bootstrap -w make && make -C build/default distclean",
"command": "make -C build/default distclean",
"group": "none",
"dependsOn" : "Bootstrap",
"problemMatcher": [
"$gcc"
]
},
{
"label": "Bootstrap the source tree",
"label": "Configure",
"type": "shell",
"command": "./bootstrap && mkdir -p build/default && (cd build/default && ../../configure --enable-coverage --enable-coverage-info)",
"command": "./bootstrap && mkdir -p build/default && (cd build/default && ../../configure --enable-debug --enable-coverage)"
"group": "none",
"problemMatcher": [
"$gcc"
]
},
{
"label": "Clean tree",
"label": "Bootstrap",
"type": "shell",
"command": "if [[ ! -f build/default/config.status ]]; then ./bootstrap && mkdir -p build/default; (cd build/default && ../../configure --enable-debug --enable-coverage); else ./bootstrap -w make; fi"
"group": "none",
"problemMatcher": [
"$gcc"
],
},
{
"label": "Clean Tree",
"type": "shell",
"command": "make -f Makefile-bootstrap clean-repos && git clean -Xdf",
"group": "none",
Expand All @@ -98,23 +114,23 @@
{
"label": "QRCode Tests",
"type": "shell",
"command": "./bootstrap -w make && make -C build/default/src/setup_payload/ check",
"command": "make -C build/default/src/setup_payload check",
"group": "none",
"dependsOn" : "Bootstrap",
"problemMatcher": [
"$gcc"
]
},

{
"label": "CHIP crypto Tests",
"label": "Crypto Tests",
"type": "shell",
"command": "make -C build/x86_64-unknown-linux-gnu/src/setup_payload/ check",
"command": "make -C build/default/src/crypto check",
"group": "none",
"dependsOn" : "Bootstrap",
"problemMatcher": [
"$gcc"
]
}
},
],


]
}

0 comments on commit 0ac44c1

Please sign in to comment.