WORKSPACE(just as a marker file)BUILD.in- what the actual BUILD file looks like before running GazelleBUILD.out- what the expected BUILD file looks like after running Gazelle- Other files that exist in the package and Gazelle may read
gazelle_generation_test rule. Here’s a convenient wrapper that we use in Aspect CLI to handle dotfiles.
Example
Here’s a simple example with JSON files that participate in a dependency graph. Imagine our repository uses these to configure a code generator, and we want BUILD files to execute that generator using a custom rule calledx_lib: see the full test fixture.
