Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Update Bazel documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shikanime committed May 17, 2019
1 parent 5f4f879 commit 8f3fb81
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions containers/bazel/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# BAzel
# Bazel

## Summary

*Develop and compile efficiently on any language with the Bazel compilation tool.*

| Metadata | Value |
|----------|-------|
| *Contributors* | The VS Code Team |
| *Contributors* | Phetsinorath William <deva.shikanime@protonmail.com> |
| *Definition type* | Dockerfile |
| *Languages, platforms* | Any |
| *Languages, platforms* | All platforms |

## Using this definition with an existing folder

This definition does not require any special steps to use. Just follow these steps:
Just follow these steps:

1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine.

2. To use VS Code's copy of this definition:
1. Start VS Code and open your project folder.
2. Press <kbd>F1</kbd> select and **Remote-Containers: Create Container Configuration File...** from the command palette.
3. Select the Bazel definition.
3. Select the Dart definition.

3. To use latest-and-greatest copy of this definition from the repository:
1. Clone this repository.
2. Copy the contents of `containers/bazel/.devcontainer` to the root of your project folder.
2. Copy the contents of this folder in the cloned repository to the root of your project folder.
3. Start VS Code and open your project folder.

4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs.
Expand All @@ -37,12 +37,12 @@ This definition includes some test code that will help you verify it is working
1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine.
2. Clone this repository.
3. Start VS Code, press <kbd>F1</kbd>, and select **Remote-Containers: Open Folder in Container...**
4. Select the `containers/bazel` folder.
5. Press <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>`</kbd> and type the following command to verify installation: `apt-get update && apt-get install -y lsb-release && git --version && lsb_release -a`
6. After lsb_release installs, you should see the Git version and details about the version of Linux in the container.
4. Select this folder from the cloned repository.
5. Press <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>\`</kbd> and type the following command to verify installation: `bazel run //test-project:hello-world`
6. You should see "Hello remote world!" in the Debug Console after the program executes.

## License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE)
Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE).

0 comments on commit 8f3fb81

Please sign in to comment.