github bazelbuild/bazel-gazelle 0.10.0

latest releases: v0.36.0, v0.35.0, v0.34.0...
pre-release6 years ago
  • The command gazelle update-repos example.com/repo adds a new go_repository rule or updates an existing go_repository rule in WORKSPACE.
  • Gazelle now removes importpath attributes from go_binary and go_test rules, since these are deprecated.
  • go_binary rules can be renamed and still be updated by Gazelle. Only one go_binary per package though. go_library, go_proto_library, and go_repository rules can be renamed as long as the importpath still matches.
  • Rules are now deleted in directories that have no buildable Go or proto source files.
  • New tool: cmd/move_labels updates labels in build files after a directory is moved. This is useful for vendoring repositories that already have build files.
  • Added experimental git_repository and http_archive overlay repository rules. These rules fetch a repository and copy a set of pre-generated build files. All dependencies in @io_bazel_rules_go and @bazel_gazelle now use these rules.
  • Gazelle now follows symlinks that point outside of the workspace (thanks @yasushi-saito!)

Don't miss a new bazel-gazelle release

NewReleases is sending notifications on new releases.