v0.23.0
Pre-release
Pre-release
Changes
- Go
CXXFLAGS
andCPPFLAGS
#cgo
directives are separated intocxxopts
andcppopts
attributes, respectively. Thanks @otan.- Dependencies on mapped kinds are now supported. Thanks @robfig.
- The
gazelle
rule now supports theupdate-repos
command. - The
gazelle
rule now has adata
attribute and expands$(location)
within arguments. go_repository
'sbuild_naming_convention
is now considered when resolving external dependencies. If a repository already has build files, this attribute may be set to indicate which naming convention it follows.embedsrcs
attributes are generated for packages that contain//go:embed
directives.
- Protobuf
proto_strip_import_prefix
may be set in the root build file. Thanks @linzhp.
WORKSPACE
code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_gazelle",
sha256 = "62ca106be173579c0a167deb23358fdfe71ffa1e4cfdddf5582af26520f1c66f",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz",
],
)
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()