-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMODULE.bazel
More file actions
43 lines (37 loc) · 1.53 KB
/
MODULE.bazel
File metadata and controls
43 lines (37 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module(name = "openfeature_cpp_sdk")
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
bazel_dep(name = "abseil-cpp", version = "20250814.2")
bazel_dep(name = "rules_cc", version = "0.2.17")
# Hedron's Compile Commands Extractor for Bazel
# https://github.com/hedronvision/bazel-compile-commands-extractor
# https: // github.com/hedronvision/bazel-compile-commands-extractor
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",
# Not official but well established fork with a fix to header only libraries
# https: // github.com/hedronvision/bazel-compile-commands-extractor/pull/219
commit = "02d15621b528efd877f5d5657c4b738523a0eb17",
)
git_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
# Fetch cwt - cucumber directly from GitHub
git_repository(
name = "cwt_cucumber",
build_file = "//test/e2e:cwt_cucumber.BUILD",
remote = "https://github.com/ThoSe1990/cwt-cucumber.git",
tag = "2.8",
)
# Fetch OpenFeature spec for Gherkin scenarios
git_repository(
name = "openfeature_spec",
remote = "https://github.com/open-feature/spec.git",
branch = "main",
build_file_content = """
package(default_visibility = ["//visibility:public"])
filegroup(
name = "gherkin_features",
# TODO : https: // github.com/open-feature/cpp-sdk/issues/92
srcs = glob(["specification/assets/gherkin/evaluation.feature"]),
)
""",
)