tree: a5f0caf60c88ac0ecb2fad8e0884e12580c88c1e [path history] [tgz]
  1. testdata/
  2. BUILD
  3. gazelle.go
  4. gazelle_test.go
  5. README.md
gazelle/bzl/README.md

Gazelle

Gazelle is a BUILD file generator for Bazel. This directory contains a language extension for the Gazelle generator that allows it to automatically parse valid bzl_library targets for all .bzl files in a repo in which it runs. It will additionally include a deps entry tracking every .bzl that is loaded into the primary file.

This can be used, for example, to generate stardoc documentation for your .bzl files, both simplify the task of and improve the quality of documentation.