Skip to content

masmovil/bazel-workshop

Repository files navigation

General Overview of the Workshop

Bazel Workshop: Creating and Using Custom Rules

Estimated Duration: ~2 hours

Main Objectives:

  1. Understand the structure of a Bazel project (WORKSPACE, BUILD, etc.).
  2. Get familiar with the syntax and usage of simple rules, starting with genrule.
  3. Learn how to write custom rules in Starlark.
  4. Understand how to create macros that chain multiple rules.
  5. Use a single JSON file in all exercises to demonstrate how Bazel handles input/output data.

Target Audience:

  • Software engineers with a low/intermediate level of experience in Bazel.
  • Comfortable using the command line, Git, and a text/code editor.

Format:

  • 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.

About

Bazel TechBites Workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published