Skip to content

Releases: bookingcom/rules_flatbuffers

attempting to release 0.0.1-rc1

02 Sep 20:32
Compare
Choose a tag to compare
Pre-release

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "com_bookingcom_rules_flatbuffers", version = "0.0.1-rc1")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "com_bookingcom_rules_flatbuffers",
    sha256 = "0823dd62678dafe0091985f2c64dc4d35728d32658f01886f50aa9d095969744",
    strip_prefix = "rules_flatbuffers-0.0.1-rc1",
    url = "https://github.com/bookingcom/rules_flatbuffers/releases/download/v0.0.1-rc1/rules_flatbuffers-v0.0.1-rc1.tar.gz",
)

######################
# rules_flatbuffers setup #
######################
# Fetches the rules_flatbuffers dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@com_bookingcom_rules_flatbuffers//flatbuffers:repositories.bzl", "flatbuffers_register_toolchains", "rules_flatbuffers_dependencies")

rules_flatbuffers_dependencies()

flatbuffers_register_toolchains(
    "flatbuffers",
    flatbuffers_version = "24.3.25",
)