Skip to content

Commit

Permalink
bump bzlmod version to 1.10.0 (#2705)
Browse files Browse the repository at this point in the history
* bump bzlmod version to 1.10.0

* bump bazel version to 7.2.1

* fix code style in MODULE.bazel
  • Loading branch information
oathdruid authored Jul 23, 2024
1 parent 75763d4 commit a48d4ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.1.2
7.2.1
8 changes: 7 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = 'brpc',
version = '1.9.0',
version = '1.10.0',
compatibility_level = 1,
)

Expand All @@ -24,3 +24,9 @@ bazel_dep(name = 'thrift', version = '0.20.0', repo_name = 'org_apache_thrift')

# test only
bazel_dep(name = 'googletest', version = '1.14.0.bcr.1', repo_name = 'com_google_googletest', dev_dependency = True)
bazel_dep(name = 'hedron_compile_commands', dev_dependency = True)
git_override(
module_name = 'hedron_compile_commands',
remote = 'https://github.com/hedronvision/bazel-compile-commands-extractor.git',
commit = '1e08f8e0507b6b6b1f4416a9a22cf5c28beaba93', # Jun 28, 2024
)
15 changes: 0 additions & 15 deletions WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -1,15 +0,0 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

#
# Tools Dependencies
#
# Hedron's Compile Commands Extractor for Bazel
# https://github.com/hedronvision/bazel-compile-commands-extractor
http_archive(
name = "hedron_compile_commands",
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/3dddf205a1f5cde20faf2444c1757abe0564ff4c.tar.gz",
strip_prefix = "bazel-compile-commands-extractor-3dddf205a1f5cde20faf2444c1757abe0564ff4c",
sha256 = "3cd0e49f0f4a6d406c1d74b53b7616f5e24f5fd319eafc1bf8eee6e14124d115",
)
load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup")
hedron_compile_commands_setup()

0 comments on commit a48d4ce

Please sign in to comment.