diff --git a/.bazelignore b/.bazelignore new file mode 100644 index 000000000..511b10433 --- /dev/null +++ b/.bazelignore @@ -0,0 +1 @@ +bazel-gvisor diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 000000000..6f7fe4bf8 --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1,9 @@ +{ + "dockerFile": "images/default/Dockerfile", + "overrideCommand": true, + "mounts": ["source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"], + "runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"], + "extensions": [ + "bazelbuild.vscode-bazel" + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..42a018434 --- /dev/null +++ b/.vscode/tasks.json @@ -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" + } + } + ] +}