Add basic VSCode plumbing.

This commit is contained in:
Adin Scannell
2021-02-01 20:08:00 +00:00
committed by GitHub
parent 726100f8eb
commit 196c9de99e
2 changed files with 39 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
{
"dockerFile": "images/default/Dockerfile",
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"],
"overrideCommand": true,
"extensions": [
"bazelbuild.vscode-bazel"
]
}
+31
View File
@@ -0,0 +1,31 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "bazel build //...",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Test",
"type": "shell",
"command": "bazel test //...",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
}
}
]
}