bazel-skylib/gazelle/bzl
Alexandre Rostovtsev 99a6bcb240
Add gazelle plugin to CI and distribution mechanism (#424)
After #400, the gazelle plugin has been cleanly separated out into its own bazel workspace, which will soon finally allow us to mark it stable. But this means:

* we need to change our bazelci config to explicitly build and test it, since `bazel build //...` no longer includes the plugin;
* we need to add proper distribution rules for it;
* we need to update release instructions, since now we will have two distribution tarballs
2023-01-20 16:48:10 -05:00
..
testdata Handle "internal" directory visibility (#274) 2020-10-21 23:52:14 -06:00
BUILD Add gazelle plugin to CI and distribution mechanism (#424) 2023-01-20 16:48:10 -05:00
README.md Move bzl ext (#265) 2020-08-20 13:14:55 -04:00
gazelle.go Fixing typo: allocate slice with the correct size (#383) 2022-08-16 12:00:42 -04:00
gazelle_test.go Add the gazelle plugin to the distribution (#400) 2022-11-07 11:25:38 +01:00

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.