github bazelbuild/bazel-gazelle 0.16.0

latest releases: v0.36.0, v0.35.0, v0.34.0...
pre-release5 years ago

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 named NewLanguage that returns a value assignable to language.Language.
    • Create a gazelle_binary target that depends on your go_library and other language extensions through the languages attribute.
    • Reference your gazelle_binary target through the gazelle attribute of the gazelle rule.
    • See Extending Gazelle for more information.
  • 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 and http_archive rules are deprecated. You should migrate to Bazel's git_repository and http_archive instead.
  • Gazelle will visit directories whose names start with _. Previously these were considered hidden, but go 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.

Don't miss a new bazel-gazelle release

NewReleases is sending notifications on new releases.