Estimated Duration: ~2 hours
- Understand the structure of a
Bazel
project (WORKSPACE, BUILD, etc.). - Get familiar with the syntax and usage of simple rules, starting with genrule.
- Learn how to write custom rules in
Starlark
. - Understand how to create macros that chain multiple rules.
- Use a single JSON file in all exercises to demonstrate how
Bazel
handles input/output data.
- Software engineers with a low/intermediate level of experience in Bazel.
- Comfortable using the command line, Git, and a text/code editor.
- Each block includes a short theoretical explanation followed by practical exercises.
- Exercises build upon one another, gradually increasing in complexity.
- A Q&A session concludes the workshop.