forked from alibaba/hessian2-codec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(bazel): add MODULE.bazel files for bzlmod
Signed-off-by: Matthieu MOREL <[email protected]>
- Loading branch information
Showing
12 changed files
with
80 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.0.0 | ||
6.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
module( | ||
name = "hessian2-codec", | ||
repo_name = "com_alibaba_hessian2_codec", | ||
) | ||
|
||
bazel_dep( | ||
name = "bazel_skylib", | ||
version = "1.4.1", | ||
) | ||
bazel_dep( | ||
name = "abseil-cpp", | ||
version = "20220623.1", | ||
repo_name = "com_google_absl", | ||
) | ||
bazel_dep( | ||
name = "fmt", | ||
version = "8.1.1", | ||
repo_name = "com_github_fmtlib_fmt", | ||
) | ||
bazel_dep( | ||
name = "googletest", | ||
version = "1.11.0", | ||
repo_name = "com_google_googletest", | ||
) | ||
bazel_dep( | ||
name = "hedron_compile_commands", | ||
dev_dependency = True, | ||
) | ||
bazel_dep( | ||
name = "platforms", | ||
version = "0.0.8", | ||
) | ||
# -- bazel_dep definitions -- # | ||
|
||
git_override( | ||
module_name = "hedron_compile_commands", | ||
commit = "5bcb0bd8a917b2b48fb5dc55818515f4be3b63ff", | ||
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", | ||
) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module( | ||
name = "com_alibaba_hessian2_codec_demo", | ||
) | ||
|
||
bazel_dep( | ||
name = "hessian2-codec", | ||
version = "", | ||
repo_name = "com_alibaba_hessian2_codec", | ||
) | ||
bazel_dep( | ||
name = "abseil-cpp", | ||
version = "20220623.1", | ||
repo_name = "com_google_absl", | ||
) | ||
# -- bazel_dep definitions -- # | ||
|
||
local_path_override( | ||
module_name = "hessian2-codec", | ||
path = "..", | ||
) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands") | ||
|
||
refresh_compile_commands( | ||
name = "refresh_compile_commands", | ||
|
||
# Specify the targets of interest. | ||
# For example, specify a dict of targets and any flags required to build. | ||
targets = { | ||
"//common/...": "", | ||
"//example/...": "", | ||
"//hessian2/...": "", | ||
"//test_hessian/...": "", | ||
}, | ||
) |