bazel¶
An example workspace with bazel.
Installation¶
You'll need the following packages installed:
Usage¶
Open this directory in vscode
Set up your workspace¶
Run the get_code script, then open this folder in vscode.
This will download the bazel example code repository.
See bazel tutorials
Build¶
Tasks¶
Go to Terminal->Run Build Task or type the shortcut command.
Note
The working directory for a running task needs to be set to the directory containing a WORKSPACE file.
You can use vscode environment variables to set the worksapce
Command line¶
Follow the instructions in the bazel tutorials