Skip to content

Commit

Permalink
Add basic VSCode plumbing.
Browse files Browse the repository at this point in the history
  • Loading branch information
amscanne authored Feb 1, 2021
1 parent 726100f commit 196c9de
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -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 changes: 31 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
]
}

0 comments on commit 196c9de

Please sign in to comment.