Changes
gazelle_binary
is a new rule that allows developers to support new languages. To support a new language, you may:- Create a
go_library
that defines a function namedNewLanguage
that returns a value assignable tolanguage.Language
. - Create a
gazelle_binary
target that depends on yourgo_library
and other language extensions through thelanguages
attribute. - Reference your
gazelle_binary
target through thegazelle
attribute of thegazelle
rule. - See Extending Gazelle for more information.
- Create a
- Most Go packages in this repository are now public. You can now use
rule
and other libraries to write your own tools that manipulate build files. - Gazelle's
git_repository
andhttp_archive
rules are deprecated. You should migrate to Bazel'sgit_repository
andhttp_archive
instead. - Gazelle will visit directories whose names start with
_
. Previously these were considered hidden, butgo build
allows directories with these names to be imported (even if they don't match wildcards). In the next release, directories whose names start with.
will also be visited.